diff options
author | codex <aurelien@hackers.camp> | 2014-12-11 16:34:55 +0100 |
---|---|---|
committer | codex <aurelien@hackers.camp> | 2014-12-11 16:34:55 +0100 |
commit | 95ceb73b64969db0dbf9ae6578dc38a1d4c2f719 (patch) | |
tree | 18d2c8730c4833e77d6ac881c1a1b7effe7e7915 /pcr/armory/PKGBUILD | |
parent | 3caeb7ee5cdaa039f21c1ece1cf9f21139ab3002 (diff) |
Python-Based Bitcoin Software
Diffstat (limited to 'pcr/armory/PKGBUILD')
-rw-r--r-- | pcr/armory/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/armory/PKGBUILD b/pcr/armory/PKGBUILD new file mode 100644 index 000000000..adb60a766 --- /dev/null +++ b/pcr/armory/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> +# Contributor: portals <portals at riseup.net> +#Base on work of: 2bluesc <2bluesc at gmail.com> and mazzolino <maze+aur at strahlungsfrei.de> +# Contributor: Pieter Kokx <pieter@kokx.nl> + +pkgname=armory +_pkgname=BitcoinArmory +pkgver=0.92.3 +_pkgver=0.92.3 +pkgrel=2 +pkgdesc="Python-Based Bitcoin Software" +arch=('i686' 'x86_64') +url="https://github.com/etotheipi/BitcoinArmory" +license=('AGPL3') +groups=() +depends=('crypto++' 'swig' 'python2' 'twisted' 'qt4' 'python2-pyqt4' 'python2-bsddb' 'python2-psutil') +makedepends=('git' 'gcc' 'make') +provides=('armory') +conflicts=('armory') +replaces=() +backup=() +options=() +install= +source=("run-armory.sh" "build_detect_platform-01.patch" "http://github.com/etotheipi/BitcoinArmory/archive/v$_pkgver.tar.gz") +noextract=() + +build() { + cd $srcdir/BitcoinArmory-$_pkgver/ + + patch -p0 -i $srcdir//build_detect_platform-01.patch + + make PYVER=python2.7 +} + +package() { + install -Dm 755 "$srcdir/run-armory.sh" "$pkgdir/usr/bin/armory" + + mkdir -p "$pkgdir/opt" + cp -R "$srcdir/$_pkgname-$_pkgver/" "$pkgdir/opt/" + mv "$pkgdir/opt/$_pkgname-$_pkgver" "$pkgdir/opt/$_pkgname" + + rm -rf "$pkgdir/opt/$_pkgname/cppForSwig/" + rm -rf "$pkgdir/opt/$_pkgname/.git/" + rm -rf "$pkgdir/opt/$_pkgname/.gitignore" +} |