summaryrefslogtreecommitdiff
path: root/pcr/python2-pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-pkgtools')
-rw-r--r--pcr/python2-pkgtools/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/pcr/python2-pkgtools/PKGBUILD b/pcr/python2-pkgtools/PKGBUILD
index 3c97239ea..84e5dcf0c 100644
--- a/pcr/python2-pkgtools/PKGBUILD
+++ b/pcr/python2-pkgtools/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=python2-pkgtools
-pkgver=0.7.1
+pkgver=0.7.3
pkgrel=1
pkgdesc="Python packages tools"
arch=('any')
@@ -11,10 +11,15 @@ license=('MIT')
depends=('python2')
makedepends=('python2-distribute')
source=(http://pypi.python.org/packages/source/p/pkgtools/pkgtools-${pkgver}.tar.gz)
+md5sums=('f23b4aaf2fb4893df8f5225a9edb6a07')
build() {
cd "${srcdir}/pkgtools-${pkgver}"
- python2 setup.py build || exit 1
- python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1
+ python2 setup.py build
}
+package() {
+ cd "${srcdir}/pkgtools-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+} \ No newline at end of file