blob: aeb6e14d97f0c0ec6c1ccb0a1927c6dda57550e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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')
|