summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ferreira2015-06-20 12:30:20 -0300
committerRafael Ferreira2015-06-20 12:30:20 -0300
commit9f7bce2ddc544b4ee412b62a1740e10296d87010 (patch)
tree5d86d0566dd4fa9210773ee7bc25d819ea96b63f
downloadaur-9f7bce2ddc544b4ee412b62a1740e10296d87010.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2d85df8466d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = pyg3t
+ pkgdesc = Python gettext Translation Toolkit
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = https://launchpad.net/pyg3t
+ arch = any
+ license = GPL
+ depends = python2
+ source = https://launchpad.net/pyg3t/trunk/0.3.1/+download/pyg3t-0.3.1.tar.gz
+ md5sums = a05172b2988fd8a6ff1203c490b5217f
+
+pkgname = pyg3t
+
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: