diff options
author | Carsten Teibes | 2014-06-03 04:09:34 +0200 |
---|---|---|
committer | Carsten Teibes | 2014-06-03 04:09:34 +0200 |
commit | 2af347fa0a5991a69131eabe7c9b45dddda2e698 (patch) | |
tree | 80c8341310d78f6d520d42173148ef65a280e5cd /PKGBUILD | |
download | aur-2af347fa0a5991a69131eabe7c9b45dddda2e698.tar.gz |
[add] dynamite-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9e03674452d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG +# Contributors: Florian Léger, chris_L, Sergej Pupykin, Zhukov Pavel + +pkgname=dynamite-git +pkgver=r35.g9d268c9 +pkgrel=1 +pkgdesc="PKWARE Data Compression decompressor tool and library (development version)" +arch=('i686' 'x86_64') +url="https://github.com/twogood/dynamite" +license=("BSD") +provides=('dynamite' 'dynamite-svn') +conflicts=('dynamite') +depends=('glibc') +makedepends=("git") +source=(dynamite::"git+https://github.com/twogood/dynamite.git") +md5sums=('SKIP') + +pkgver() { + cd dynamite + + printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd dynamite + + ./bootstrap + ./configure --prefix=/usr + make +} + +package() { + cd dynamite + + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |