diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2016-02-10 14:06:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2016-02-10 14:07:45 -0300 |
commit | 9f901db19508b0848ae80dbe9f402bb9b82feb09 (patch) | |
tree | 3a1638bc1c43231a6dc7901d31c00522af00f38d /pcr | |
parent | 6743d85aef7d0f4ed594dae444e0c167e60eaedb (diff) | |
download | abslibre-9f901db19508b0848ae80dbe9f402bb9b82feb09.tar.gz abslibre-9f901db19508b0848ae80dbe9f402bb9b82feb09.tar.bz2 abslibre-9f901db19508b0848ae80dbe9f402bb9b82feb09.zip |
electrum-fair: a faircoin lightweight wallet
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/electrum-fair/PKGBUILD | 45 | ||||
-rw-r--r-- | pcr/electrum-fair/electrum.install | 11 |
2 files changed, 56 insertions, 0 deletions
diff --git a/pcr/electrum-fair/PKGBUILD b/pcr/electrum-fair/PKGBUILD new file mode 100644 index 000000000..aeb6e14d9 --- /dev/null +++ b/pcr/electrum-fair/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 147093 2015-11-18 17:25:15Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: Andy Weidenbaum <archbaum@gmail.com> +# ThomasV PGP key: gpg --recv-key 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6 +# http://bitcoin-otc.com/viewgpg.php?nick=ThomasV + +pkgname=electrum-fair +pkgver=2.3.3 +pkgrel=1 +pkgdesc="Lightweight Faircoin wallet" +arch=('any') +depends=('python2-ecdsa' 'python2-pbkdf2' 'python2-requests' 'python2-pyasn1' 'python2-pyasn1-modules' 'python2-qrcode' + 'python2-protobuf' 'python2-tlslite' 'python2-dnspython' 'python2-pyqt4' 'python2-sip' 'python2-slowaes') +makedepends=('gettext' 'python2-pycurl' 'python2-setuptools' 'desktop-file-utils') +optdepends=('python2-btchip: BTChip hardware wallet support' + 'python2-matplotlib: plot transaction history in graphical mode' + 'zbar: QR code reading support') +url="https://electrum.fair-coin.org/" +license=('GPL3') +source=("https://electrum.fair-coin.org/download/Electrum-fair-${pkgver}.tar.gz") + +provides=('electrum-fair') +install=electrum.install + +prepare() { + cd ${pkgname^}-${pkgver} + + find . -type f -exec sed -i 's#/usr/bin/python#/usr/bin/python2#g' {} + + find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#g' {} + +} + +build() { + cd ${pkgname^}-${pkgver} + + pyrcc4 icons.qrc -o gui/qt/icons_rc.py + python2 setup.py build +} + +package() { + cd ${pkgname^}-${pkgver} + + python2 setup.py install --root="${pkgdir}" --optimize=1 + mv "${pkgdir}"/usr/share/pixmaps/electrum{,-fair}.png +} +sha512sums=('10be7a9e554af59920c11bb4900f5f9bd9d9e2e802243594d37e866bfd7497cbc12e4982f7e05907a721714f88115250762baafcdc78b0fee34a491c7079dba4') diff --git a/pcr/electrum-fair/electrum.install b/pcr/electrum-fair/electrum.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/pcr/electrum-fair/electrum.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |