summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafael Ferreira2015-06-20 12:30:20 -0300
committerRafael Ferreira2015-06-20 12:30:20 -0300
commit9f7bce2ddc544b4ee412b62a1740e10296d87010 (patch)
tree5d86d0566dd4fa9210773ee7bc25d819ea96b63f /PKGBUILD
downloadaur-9f7bce2ddc544b4ee412b62a1740e10296d87010.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8faf2a80ade
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: josephgbr <rafael.f.f1@gmail.com>
+pkgname=pyg3t
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Python gettext Translation Toolkit"
+arch=(any)
+url="https://launchpad.net/pyg3t"
+license=('GPL')
+depends=('python2')
+source=($url/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('a05172b2988fd8a6ff1203c490b5217f')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i "s#!/usr/bin/env python#&2#" \
+ pyg3t/poabc.py pyg3t/podiff.py pyg3t/gtxml.py \
+ pyg3t/gtgrep.py pyg3t/gtparse.py pyg3t/popatch.py
+
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: