blob: 99ed52875f3f24191f73a17e2c74d9c47ec021f6 (
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
|
pkgname=dex-git
pkgver=0.7.r17.ga98fa2f
pkgrel=1
pkgdesc="Program to execute DesktopEntry files"
url="https://github.com/jceb/dex"
license=('GPL2')
arch=('any')
depends=('python')
makedepends=('git' 'python-sphinx')
provides=('dex')
conflicts=('dex')
source=('git+https://github.com/jceb/dex.git')
sha256sums=('SKIP')
pkgver() {
cd dex
git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd dex
make
}
package() {
cd dex
install -m755 -D dex "$pkgdir"/usr/bin/dex
install -D man/dex.1 "$pkgdir"/usr/share/man/man1/dex.1
}
|