diff options
author | Kyle Manna | 2015-08-25 14:52:27 -0700 |
---|---|---|
committer | Kyle Manna | 2015-08-25 14:52:27 -0700 |
commit | 9e75ce72438a61914223bec937743670946c5b5d (patch) | |
tree | e2f4100bf4cb7d69bceb338a90f873688689598b /PKGBUILD | |
download | aur-python-partialhash.tar.gz |
Initial version: v1.1.2
Initial release to AUR.
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..0ca930976e4d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> +pkgname=python-partialhash +_pkgname=${pkgname/python-/} +pkgver=1.1.2 +pkgrel=1 +pkgdesc="Library to partialy hash files" +url="https://github.com/F483/partialhash" +depends=('python' 'python-pip') +optdepends=() +license=('MIT') +arch=('any') +source=("https://github.com/F483/${_pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('29672997af56de1df69304bbddc217b252d7b7f96599a0617aa5db745da928d3') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + rm -rf ${pkgdir}/usr/lib/python3.4/site-packages/tests/ +} + |