summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-20 20:54:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-20 20:54:26 (GMT)
commit6c58d5072ebce74bf852b5b016049503a1ef6035 (patch)
treeee1ca6e36a62e32757578afda28a633e79f9b6da /abs/extra
parentdbeefbb11adafac4ac2b4c81736f95bd62f1992c (diff)
downloadlinhes_pkgbuild-6c58d5072ebce74bf852b5b016049503a1ef6035.zip
linhes_pkgbuild-6c58d5072ebce74bf852b5b016049503a1ef6035.tar.gz
linhes_pkgbuild-6c58d5072ebce74bf852b5b016049503a1ef6035.tar.bz2
itstool: initial inclusion. dep of glade.
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/itstool/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/itstool/PKGBUILD b/abs/extra/itstool/PKGBUILD
new file mode 100644
index 0000000..edfd764
--- /dev/null
+++ b/abs/extra/itstool/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
+
+pkgname=itstool
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="XML to PO and back again"
+arch=(any)
+url="http://itstool.org/"
+license=(GPL3)
+depends=(python2 libxml2)
+source=(http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2)
+sha256sums=('bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/| python/&2/' configure.ac
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr PYTHON=/usr/bin/python2
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}