blob: 791c5b70b059248192019075c57c7f3cafe71a3c (
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
30
31
32
33
34
35
|
# Maintainer: Max Gautier <mg@max.gautier.name>
_pkgname=xdg-terminal-exec
pkgname=${_pkgname}-git
pkgver=0.12.0.r1.g6614d3c
pkgrel=1
pkgdesc="Proposed standard to launching desktop apps with Terminal=true"
arch=(any)
url="https://gitlab.freedesktop.org/Vladimir-csp/$_pkgname.git"
makedepends=('git' 'scdoc')
checkdepends=('bats')
provides=('xdg-terminal-exec')
conflicts=('xdg-terminal-exec')
license=('GPL-3.0-or-later')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
check() {
cd "$_pkgname"
bats "test/"
}
build() {
make -C "$_pkgname"
}
package() {
cd "$_pkgname"
install -Dm 755 -t "$pkgdir"/usr/bin "$_pkgname"
install -Dm 644 -t "$pkgdir"/usr/share/man/man1/ xdg-terminal-exec.1.gz
}
|