diff options
author | lukpod | 2017-12-20 21:27:22 +0100 |
---|---|---|
committer | lukpod | 2017-12-20 21:27:22 +0100 |
commit | 4d22b4237a2d29621f84cb3d2e285fa4a9a4cd95 (patch) | |
tree | 1c9a53a079fddb1bb469265e2f3e17be89deb120 /PKGBUILD | |
download | aur-4d22b4237a2d29621f84cb3d2e285fa4a9a4cd95.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..498b348a12be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +pkgname=electrum-ltc-git +pkgver=2.9.3.1.r820.e50a1b10 +pkgrel=1 +pkgdesc="Lightweight Litecoin client" +arch=(any) +url=https://electrum-ltc.org/ +license=(MIT) +depends=(python-btchip + python-dnspython + python-ecdsa + python-jsonrpclib-pelix + python-matplotlib + python-pbkdf2 + python-protobuf + python-pyaes + python-pycryptodomex + python-pyqt5 + python-pysocks + python-qrcode + python-requests + python-scrypt + zbar) +makedepends=(gettext git) +source=(git+https://github.com/pooler/electrum-ltc.git) +sha256sums=(SKIP) + +pkgver() { + cd electrum-ltc/ + git describe | sed 's/-/.r/; s/-g/./' +} + +build() { + cd electrum-ltc/ + pyrcc5 icons.qrc >gui/qt/icons_rc.py + protoc --proto_path=lib/ --python_out=lib/ lib/paymentrequest.proto + contrib/make_locale + ./setup.py build +} + +package() { + cd electrum-ltc/ + + ./setup.py install -O1 --root=$pkgdir/ + + mkdir -p $pkgdir/usr/share/doc/electrum-ltc/ + cp AUTHORS README.rst RELEASE-NOTES electrum-ltc.conf.sample $pkgdir/usr/share/doc/electrum-ltc/ + + mkdir -p $pkgdir/usr/share/licenses/$pkgname/ + cp LICENCE $pkgdir/usr/share/licenses/$pkgname/ +} |