[arch-commits] Commit in python2-polib/repos (2 files)

Alexandre Filgueira faidoc at nymeria.archlinux.org
Sat Apr 12 21:34:52 UTC 2014


    Date: Saturday, April 12, 2014 @ 23:34:52
  Author: faidoc
Revision: 109291

archrelease: copy trunk to community-testing-any

Added:
  python2-polib/repos/community-testing-any/
  python2-polib/repos/community-testing-any/PKGBUILD
    (from rev 109290, python2-polib/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python2-polib/repos/community-testing-any/PKGBUILD (from rev 109290, python2-polib/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2014-04-12 21:34:52 UTC (rev 109291)
@@ -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