summaryrefslogtreecommitdiff
path: root/social/python2-polib/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Silva <marcio@pc-02.localdomain>2012-06-11 16:07:02 -0300
committerMárcio Silva <marcio@pc-02.localdomain>2012-06-11 16:07:02 -0300
commitc9fac1e465cceec9e9c8439978d9eb0c5a556676 (patch)
tree3b6b9e5842d8cc625fa8557e000f92e4a0ff7993 /social/python2-polib/PKGBUILD
parent5d9e43e2246de3d18b1a0eb17c3c05902eba3375 (diff)
parent6d006ae5a02b1276e0fe231c95a23465e126e759 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social/python2-polib/PKGBUILD')
-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
+}