summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python2-pkgtools/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/pcr/python2-pkgtools/PKGBUILD b/pcr/python2-pkgtools/PKGBUILD
index 84e5dcf0c..43522d599 100644
--- a/pcr/python2-pkgtools/PKGBUILD
+++ b/pcr/python2-pkgtools/PKGBUILD
@@ -1,9 +1,10 @@
-# Contributor (Arch): Fabien Devaux <fdev31 at gmail dot com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+# $Id$
+# Maintainer (Arch): Fabien Devaux <fdev31 at gmail dot com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=python2-pkgtools
pkgver=0.7.3
-pkgrel=1
+pkgrel=2
pkgdesc="Python packages tools"
arch=('any')
url="http://pkgtools.readthedocs.org/en/latest/"
@@ -13,13 +14,12 @@ makedepends=('python2-distribute')
source=(http://pypi.python.org/packages/source/p/pkgtools/pkgtools-${pkgver}.tar.gz)
md5sums=('f23b4aaf2fb4893df8f5225a9edb6a07')
-build() {
+package() {
cd "${srcdir}/pkgtools-${pkgver}"
- python2 setup.py build
+ python2 setup.py build || exit 1
}
-
-package() {
+install () {
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
+ python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1
+}
+