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 | |
download | aur-2af347fa0a5991a69131eabe7c9b45dddda2e698.tar.gz |
[add] dynamite-git
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cc93de959043 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = dynamite-git + pkgdesc = PKWARE Data Compression decompressor tool and library (development version) + pkgver = r35.g9d268c9 + pkgrel = 1 + url = https://github.com/twogood/dynamite + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + depends = glibc + provides = dynamite + provides = dynamite-svn + conflicts = dynamite + source = dynamite::git+https://github.com/twogood/dynamite.git + md5sums = SKIP + +pkgname = dynamite-git + 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 +} |