[add] dynamite-git

This commit is contained in:
Carsten Teibes 2014-06-03 04:09:34 +02:00
commit 2af347fa0a
2 changed files with 55 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -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

37
PKGBUILD Normal file
View file

@ -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
}