diff options
author | Shanti Bouchez-Mongardé | 2015-09-22 23:25:20 +0200 |
---|---|---|
committer | Shanti Bouchez-Mongardé | 2015-09-22 23:25:20 +0200 |
commit | 8df04b528b44b1a9e2e0c27d2bc91b28fda8d634 (patch) | |
tree | 5bd62770099c3d6125d41687e6dd8afa47fc246c /PKGBUILD | |
download | aur-cutecoin-git.tar.gz |
cutecoin-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..86a1332b07f3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=cutecoin-git +pkgrel=1 +pkgver=0.10.2.r0.g25699ba +arch=(any) +depends=(python python-libnacl python-requests python-scrypt python-pylibscrypt +python-base58) +source=(cutecoin-git::git://github.com/ucoin-io/cutecoin.git) +md5sums=(SKIP) + +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build(){ + cd "$srcdir/$pkgname" + python gen_resources.py + python gen_translations.py + python setup.py build +} + +package(){ + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 +} |