summaryrefslogtreecommitdiff
path: root/pcr/python2-polib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-13 00:04:32 -0800
committerroot <root@rshg054.dnsready.net>2013-02-13 00:04:32 -0800
commit0671250710c3e7312a4693ac45ebbaacf471d1dc (patch)
treef40a26f2fd5267582cf25a84886471773bc160c8 /pcr/python2-polib
parent29b0da64a462b6c5f6871b08e344b3ffa59cbd0a (diff)
Wed Feb 13 00:04:27 PST 2013
Diffstat (limited to 'pcr/python2-polib')
-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..206bd9b4f
--- /dev/null
+++ b/pcr/python2-polib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=0.7.0
+pkgrel=2
+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
+}