diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2341c88720c0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Maximilian Weiss <$(echo "bWF4QG1heHdlaXNzLmlv" | base64 -d)> +# Contributor: James Lovejoy <$(echo "Y29udGFjdEB2ZXJ0Y29pbi5vcmcK" | base64 -d)> + +pkgname=python2-lyra2re2_hash +pkgver=1.1 +pkgrel=1 +pkgdesc='Bindings for Lyra2RE2 proof of work used by Vertcoin' + +arch=('any') +url='https://github.com/metalicjames/lyra2re-hash-python' +license=('unknown') + +depends=('python2-setuptools') + +provides=('python2-lyra2re2_hash') +conflicts=('python2-lyra2re2_hash') + +source=('git://github.com/metalicjames/lyra2re-hash-python') + +sha256sums=('SKIP') + +build() { + cd "$srcdir/lyra2re-hash-python/" + git checkout 6677dd3a6b3ebb7e6ef76d08311d5b8580cdec26 +} + +package() { + cd "$srcdir/lyra2re-hash-python/" + python2 setup.py install --root="$pkgdir/" --optimize=1 --prefix=/usr +} |