summaryrefslogtreecommitdiff
path: root/pcr/armory/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/armory/PKGBUILD')
-rw-r--r--pcr/armory/PKGBUILD77
1 files changed, 0 insertions, 77 deletions
diff --git a/pcr/armory/PKGBUILD b/pcr/armory/PKGBUILD
deleted file mode 100644
index 631c3d03a..000000000
--- a/pcr/armory/PKGBUILD
+++ /dev/null
@@ -1,77 +0,0 @@
-# Maintainer: Aurélien Desbrières <aurelien@hackers.camp>
-# Maintainer (Arch): Jonathan la Cour <jon@lacour.me>
-# Contributor (Arch): Patrick Glandien <patrick@synix.io>
-# Contributor (Arch): William Grieshaber <me@zee.li>
-# Contributor (Arch): portals <portals at riseup.net> Base on work of: 2bluesc <2bluesc at gmail.com> and mazzolino <maze+aur at strahlungsfrei.de>
-# Contributor (Arch): Pieter Kokx <pieter@kokx.nl>
-
-pkgname=armory
-pkgver=0.96.3.99
-pkgrel=1
-pkgdesc="Full-featured Bitcoin wallet management application"
-arch=(i686 x86_64)
-url="https://github.com/goatpig/BitcoinArmory"
-license=(AGPL3 MIT)
-depends=(crypto++ swig qt4 qt5-tools python2 python2-twisted python2-pyqt4 python2-bsddb python2-psutil)
-optdepends=('bitcoin-daemon: Communicate with the Bitcoin network')
-provides=(armory)
-conflicts=(armory armory-git armory-bin armory-goatpig-git)
-install="${pkgname}.install"
-
-# Signed hashes available at
-# https://github.com/goatpig/BitcoinArmory/releases with GPG ID 8C5211764922589A
-source=("https://github.com/goatpig/BitcoinArmory/releases/download/v${pkgver}/armory_${pkgver}_src.tar.gz"
- 'run-armory.sh')
-sha512sums=('afe73e2f52834dead3f085eca3daf27406f64c30678d1b68ee3de47acb7d38a2c5ae2d326e686cce0a91f1cf97ea69e8f81d208da4d0e57a0b6c152482ef7059'
- 'af44a8edfdf751f3343a8bdf6fa21c125389de3435c4b03c7f581b980525a9f32af177f496830f847b70c8e2619c42908536698e0fd28f862f16083cf7396715')
-
-prepare() {
- msg 'Validating Checksums GPG signature...'
- curl -sL https://github.com/goatpig/BitcoinArmory/releases/download/v${pkgver}/sha256sum.txt.asc -o sha256sum.txt.asc
- gpg --recv-key 8C5211764922589A
- gpg --verify sha256sum.txt.asc
- msg2 'Checksums GPG signature OK.'
-
- msg 'Validating Checksums...'
- grep "${pkgver}_src.tar.gz" 'sha256sum.txt.asc' | tr -d '\r' | sha256sum -c -
- msg2 'Checksums OK.'
-
- cd "$srcdir/${pkgname}_${pkgver}-src"
-
- ## Get Python2 Version
- _py2longver=$(pacman -Qi python2 | grep "Version" | sed 's/^Version\s*:\s//')
- _py2ver=${_py2longver%.*}
- PYTHON_VERSION=${_py2ver} ./autogen.sh
-}
-
-build() {
- cd "$srcdir/${pkgname}_${pkgver}-src"
-
- ## Get Python2 Version
- _py2longver=$(pacman -Qi python2 | grep "Version" | sed 's/^Version\s*:\s//')
- _py2ver=${_py2longver%.*}
- PYTHON_VERSION=${_py2ver} ./configure
-
- ## Build using current python2 version
- PYTHON_VERSION=${_py2ver} make
-}
-
-package() {
- install -Dm644 "$srcdir/${pkgname}_${pkgver}-src/dpkgfiles/armory.desktop" "$pkgdir/usr/share/applications/armory.desktop"
- install -Dm644 "$srcdir/${pkgname}_${pkgver}-src/dpkgfiles/armoryoffline.desktop" "$pkgdir/usr/share/applications/armoryoffline.desktop"
- install -Dm644 "$srcdir/${pkgname}_${pkgver}-src/dpkgfiles/armorytestnet.desktop" "$pkgdir/usr/share/applications/armorytestnet.desktop"
- install -Dm644 "$srcdir/${pkgname}_${pkgver}-src/img/armory_icon_64x64.png" "$pkgdir/usr/share/armory/img/armory_icon_64x64.png"
- install -Dm644 "$srcdir/${pkgname}_${pkgver}-src/img/armory_icon_green_64x64.png" "$pkgdir/usr/share/armory/img/armory_icon_green_64x64.png"
-
- install -Dm 755 "$srcdir/run-armory.sh" "$pkgdir/usr/bin/armory"
-
- mkdir -p "$pkgdir/opt"
- cp -R "$srcdir/${pkgname}_${pkgver}-src/." "$pkgdir/opt/$pkgname/"
-
- mkdir -p "$pkgdir/usr/local/bin"
- ln -s "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/local/bin/$pkgname"
-
- rm -rf "$pkgdir/opt/$pkgname/cppForSwig/"
- rm -rf "$pkgdir/opt/$pkgname/.git/"
- rm -rf "$pkgdir/opt/$pkgname/.gitignore"
-}