summaryrefslogtreecommitdiff
path: root/pcr/python2-pkgtools/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-25 09:24:32 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-25 09:24:32 -0500
commit6db679e3f96b11eaca5c6fe89c566b2de468c6a2 (patch)
tree8804111038bbdb0854808127e136a19e49a1bcd9 /pcr/python2-pkgtools/PKGBUILD
parentddcfafbbf91018700c3e5263685703cfe7b6a776 (diff)
python2-pkgtools-0.7.3-2: rebuild
Diffstat (limited to 'pcr/python2-pkgtools/PKGBUILD')
-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
+}
+