summaryrefslogtreecommitdiff
path: root/pcr/armory/PKGBUILD.old
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/armory/PKGBUILD.old')
-rw-r--r--pcr/armory/PKGBUILD.old45
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/armory/PKGBUILD.old b/pcr/armory/PKGBUILD.old
new file mode 100644
index 000000000..0b0482797
--- /dev/null
+++ b/pcr/armory/PKGBUILD.old
@@ -0,0 +1,45 @@
+# Maintainer : Aurélien Desbrières <aurelien@hackers.camp>
+# Contributor : 2bluesc <2bluesc at gmail.com>
+# Contributor : 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"
+}