summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormutantmonkey2014-12-06 17:42:11 -0800
committermutantmonkey2014-12-06 17:42:11 -0800
commitfa08c8c6679cf931483db423f738804ffc9fd36a (patch)
treecd7183d34e191f67936ad9cecfa9becfc4b549ac /PKGBUILD
parent2f33e3509d85896970b0a619066aa4be03335d2e (diff)
downloadaur-dex-git.tar.gz
dex-git: use makefile
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: