diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-02-12 23:24:03 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-02-12 23:24:03 -0500 |
commit | b03a7f3a39c200dd7a3879e2cfc6fa3c9664ca72 (patch) | |
tree | cb5bcfe47421c5bcc604a35fb1e94c2dfc147e9f /pcr/python2-polib | |
parent | 30275df2071b48ef4c3d1a23039b4136c2359771 (diff) |
Adding python2-polib, python2-relatorio and trytond
Diffstat (limited to 'pcr/python2-polib')
-rw-r--r-- | pcr/python2-polib/PKGBUILD | 25 |
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 +} |