[arch-commits] Commit in (4 files)
Alexandre Filgueira
faidoc at nymeria.archlinux.org
Sat Apr 12 21:32:59 UTC 2014
Date: Saturday, April 12, 2014 @ 23:32:58
Author: faidoc
Revision: 109290
python2-polib makedepends on nemo
Added:
python2-polib/
python2-polib/repos/
python2-polib/trunk/
python2-polib/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Added: python2-polib/trunk/PKGBUILD
===================================================================
--- python2-polib/trunk/PKGBUILD (rev 0)
+++ python2-polib/trunk/PKGBUILD 2014-04-12 21:32:58 UTC (rev 109290)
@@ -0,0 +1,26 @@
+# Contributor: Esteban V. Carnevale <alfplayer at mailoo.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=1.0.3
+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")
+sha256sums=('7b281e5ca799f9061bf029f2e911e99df483a1a02ef2ffaaf73fe80222f26aff')
+
+
+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
+}
More information about the arch-commits
mailing list