diff options
author | mutantmonkey | 2014-12-06 17:42:11 -0800 |
---|---|---|
committer | mutantmonkey | 2014-12-06 17:42:11 -0800 |
commit | fa08c8c6679cf931483db423f738804ffc9fd36a (patch) | |
tree | cd7183d34e191f67936ad9cecfa9becfc4b549ac | |
parent | 2f33e3509d85896970b0a619066aa4be03335d2e (diff) | |
download | aur-fa08c8c6679cf931483db423f738804ffc9fd36a.tar.gz |
dex-git: use makefile
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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: |