diff options
author | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
commit | 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (patch) | |
tree | ee137173c889a2b7279200c20b168f9d9b9fdd64 /pcr | |
parent | 50a1eb604b2d5503a06d56b76347faa581160245 (diff) |
Tue Jul 17 00:01:52 UTC 2012
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/d0_blind_id-git/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/d0_blind_id-git/PKGBUILD b/pcr/d0_blind_id-git/PKGBUILD new file mode 100644 index 000000000..bfda13205 --- /dev/null +++ b/pcr/d0_blind_id-git/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: MrBougo <bougospam at gmail dot com> +pkgname=d0_blind_id-git +pkgver=20120716 +pkgrel=1 +pkgdesc="Cryptographic library for identification with Schnorr ID scheme and Blind RSA Signatures" +arch=('i686' 'x86_64') +url="http://github.com/divVerent/d0_blind_id" +license=('BSD') +depends=('gmp') +makedepends=('git') +conflicts=() +options=('!libtool') + +_gitroot="git://git.xonotic.org/xonotic/d0_blind_id.git" +_gitname="d0_blind_id" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + msg "The local files are updated." + else + git clone $_gitroot $_gitname + fi + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + sh autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_gitname-build" + make DESTDIR="$pkgdir/" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} |