summaryrefslogtreecommitdiff
path: root/social/python2-polib
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-10 18:27:19 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-10 18:27:19 -0300
commit144fd0584bef03781a60b0cb04645e922b4c66c3 (patch)
tree47a3a39ee139d967d513e36d26d49c49cf116b8a /social/python2-polib
parent304bc200d77e78c869d97d11b731991a9b7b8c09 (diff)
gnuhealth: new package and packages dependencies
Diffstat (limited to 'social/python2-polib')
-rw-r--r--social/python2-polib/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/social/python2-polib/PKGBUILD b/social/python2-polib/PKGBUILD
new file mode 100644
index 000000000..fc346ec97
--- /dev/null
+++ b/social/python2-polib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='A library to manipulate gettext files'
+url='http://polib.readthedocs.org/en/latest/index.html'
+arch=('any')
+license=('MIT')
+depends=('python2')
+
+source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz")
+md5sums=('958f8f81ade7d2484edc25b3989fe247')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}