summaryrefslogtreecommitdiff
path: root/pcr/python2-polib/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-14 12:13:51 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-02-14 12:13:51 -0200
commitf67b20d8da80cc120dcfea0d3405de74a8e5f84a (patch)
tree2d57e7cdc4772adc20017980fda13f1267cfc127 /pcr/python2-polib/PKGBUILD
parent327433a2a7ae50151dcf0e6f6840a3eb5c065808 (diff)
parent9e33e61c00e3da5565b47e16b6618ab98c9ea38f (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-polib/PKGBUILD')
-rw-r--r--pcr/python2-polib/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD
new file mode 100644
index 000000000..ae282a2d8
--- /dev/null
+++ b/pcr/python2-polib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=1.0.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=('62a7662c3fd3eddcabba61107b6baae3')
+
+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
+}