summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD35
2 files changed, 21 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b1960e0558f..f8d92b14726 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = electron-cash-git
pkgdesc = Lightweight Bitcoin Cash wallet
- pkgver = 2.9.3.r49.gf0de53e9
- pkgrel = 1
+ pkgver = 2.9.3.r54.g1faa1f43
+ pkgrel = 2
url = http://www.electroncash.org/
install = electron-cash-git.install
arch = any
@@ -10,11 +10,12 @@ pkgbase = electron-cash-git
makedepends = protobuf
makedepends = python2-pycurl
makedepends = python2-setuptools
+ makedepends = python2-tox
depends = hicolor-icon-theme
depends = python2
depends = python2-dnspython
depends = python2-ecdsa
- depends = python2-jsonrpclib
+ depends = python2-jsonrpclib-pelix
depends = python2-pbkdf2
depends = python2-protobuf
depends = python2-pyaes
diff --git a/PKGBUILD b/PKGBUILD
index e4d4ab3bf16..ffa7bda742b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,8 @@
pkgname=electron-cash-git
pkgdesc="Lightweight Bitcoin Cash wallet"
-pkgver=2.9.3.r49.gf0de53e9
-pkgrel=1
+pkgver=2.9.3.r54.g1faa1f43
+pkgrel=2
url='http://www.electroncash.org/'
install="${pkgname}.install"
arch=('any')
@@ -21,13 +21,14 @@ makedepends=(
'protobuf'
'python2-pycurl'
'python2-setuptools'
+ 'python2-tox'
)
depends=(
'hicolor-icon-theme'
'python2'
'python2-dnspython'
'python2-ecdsa'
- 'python2-jsonrpclib'
+ 'python2-jsonrpclib-pelix'
'python2-pbkdf2'
'python2-protobuf'
'python2-pyaes'
@@ -63,30 +64,28 @@ pkgver() {
}
build() {
- cd ${pkgname/-git/}
+ cd "${pkgname/-git/}"
- msg2 'Compiling icons...'
+ # Compile the icons file for Qt:
python2-pyrcc5 icons.qrc -o gui/qt/icons_rc.py
-
- msg2 'Compiling protobuf description file...'
+ # Compile the protobuf description file:
protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto
-
- msg2 'Creating translations...'
+ # Create translations (optional):
python2 contrib/make_locale
-
- msg2 'Building...'
+ # Build
python2 setup.py build
}
-package() {
- cd ${pkgname/-git/}
+check() {
+ cd "${pkgname/-git/}"
+
+ tox
+}
- msg2 'Installing...'
- python2 setup.py install --root="${pkgdir}"
+package() {
+ cd "${pkgname/-git/}"
- msg2 'Cleaning up pkgdir...'
- find "${pkgdir}" -type d -name .git -exec rm -r '{}' +
- find "${pkgdir}" -type f -name .gitignore -exec rm -r '{}' +
+ python2 setup.py install --root="${pkgdir}" --optimize=1
}
# vim: ts=2 sw=2 et: