diff options
author | Maximilian Weiss | 2017-09-12 01:52:34 -0700 |
---|---|---|
committer | Maximilian Weiss | 2017-09-12 01:52:34 -0700 |
commit | 06409f9593114afd43b33257ee359b977f79317c (patch) | |
tree | 16650014d54a58de1050482f6ef61f367b7408ad | |
download | aur-06409f9593114afd43b33257ee359b977f79317c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b13c01ce7d3e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-lyra2re2_hash + pkgdesc = Bindings for Lyra2RE2 proof of work used by Vertcoin + pkgver = 1.1 + pkgrel = 1 + url = https://github.com/metalicjames/lyra2re-hash-python + arch = any + license = unknown + depends = python2-setuptools + provides = python2-lyra2re2_hash + conflicts = python2-lyra2re2_hash + source = git://github.com/metalicjames/lyra2re-hash-python + sha256sums = SKIP + +pkgname = python2-lyra2re2_hash + 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 +} |