mirror of
https://github.com/archlinux/aur.git
synced 2026-02-14 20:51:54 +01:00
[add] dynamite-git
This commit is contained in:
commit
2af347fa0a
2 changed files with 55 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal 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
37
PKGBUILD
Normal 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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue