summaryrefslogtreecommitdiff
path: root/pcr/python2-pkgtools/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 10:37:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 10:37:34 -0500
commitf9a1287903bf8c6be117a7bb31e9a79390ca285f (patch)
tree19f640ffa0f98e49963998a40cd530c90a4db30d /pcr/python2-pkgtools/PKGBUILD
parentfd991f01a57f3164f91e8813bfce02a7bdeae3c9 (diff)
downloadabslibre-f9a1287903bf8c6be117a7bb31e9a79390ca285f.tar.gz
abslibre-f9a1287903bf8c6be117a7bb31e9a79390ca285f.tar.bz2
abslibre-f9a1287903bf8c6be117a7bb31e9a79390ca285f.zip
python2-pkgtools-0.7.3-1: updating version
Diffstat (limited to 'pcr/python2-pkgtools/PKGBUILD')
-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