summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f052072ab6d..f5b6570ca60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
pkgname=dex-git
-_gitname=dex
-pkgver=48.21a763e
-pkgrel=2
+pkgver=62.2d158ca
+pkgrel=1
pkgdesc="A program to execute DesktopEntry files of type Application, primarily for window managers that do not implement the Freedesktop autostart specification"
url="https://github.com/jceb/dex"
arch=('any')
@@ -15,13 +14,19 @@ source=('git+https://github.com/jceb/dex.git')
sha256sums=('SKIP')
pkgver() {
- cd $_gitname
+ cd "$srcdir/dex"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
+build() {
+ cd "$srcdir/dex"
+ make PREFIX=/usr
+}
+
package() {
- cd $_gitname
- install -m755 -D dex $pkgdir/usr/bin/dex
+ cd "$srcdir/dex"
+ make DESTDIR="$pkgdir/" PREFIX=/usr install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: