blob: d4142c48a93c4870fc06b8f2ff6d88d987f7d7f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Max Gautier <mg@max.gautier.name>
_pkgname=xdg-terminal-exec
pkgname=${_pkgname}-git
pkgver=r30.7ce994f
pkgrel=1
pkgdesc="Proposed standard to launching desktop apps with Terminal=true"
arch=(any)
url="https://github.com/Vladimir-csp/$_pkgname"
makedepends=('git')
checkdepends=('bats')
license=('GPL3')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
check() {
cd "$_pkgname"
bats "test/"
}
package() {
cd "$_pkgname"
install -Dm 755 -t "$pkgdir"/usr/bin "$_pkgname"
install -Dm 644 -t "$pkgdir"/usr/share/doc/"$_pkgname"/ README.md
}
|