diff options
author | Andy Weidenbaum | 2015-08-03 09:14:45 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2015-08-03 09:14:45 -0700 |
commit | 1fec5a1ec0290f90506359ddb5bf58b58e53ba2c (patch) | |
tree | d77305e96ff8b7b91283e9d03047004ccfc5ed18 /PKGBUILD | |
download | aur-1fec5a1ec0290f90506359ddb5bf58b58e53ba2c.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..272bfff9afed --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=python-base58 +pkgver=0.2.2 +pkgrel=1 +pkgdesc="Bitcoin-compatible Base58 and Base58Check implementation" +arch=('any') +depends=('python') +makedepends=('python-setuptools') +url="https://pypi.python.org/pypi/base58" +license=('MIT') +options=(!emptydirs) +source=(https://pypi.python.org/packages/source/b/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz) +md5sums=('f4295cfee48304a9c0c3366c03699b97') +sha256sums=('f1eaa4d3b6a0a55b1304deadd3ce11effa5773e3b738f51813eccbf2f7ee5b80') +provides=('base58' 'python-base58') +conflicts=('base58') + +build() { + cd "$srcdir/${pkgname#python-}-$pkgver" + + msg2 'Building...' + python setup.py build +} + +package() { + cd "$srcdir/${pkgname#python-}-$pkgver" + + msg2 'Installing...' + python setup.py install --root="$pkgdir" --optimize=1 +} |