updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / itstool / PKGBUILD
blob1c8db490a9c5103323df185765e85674330a7e30
1 # Maintainer: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
2 pkgname=itstool
3 pkgver=1.1.1
4 pkgrel=1
5 pkgdesc="XML to PO and back again"
6 arch=(any)
7 url="http://itstool.org/"
8 license=('GPL3')
9 source=(http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2)
10 md5sums=('1ea7e89d3753e84b51efec0339a4e281')
12 build() {
13   cd "$srcdir/$pkgname-$pkgver"
14   ./configure --prefix=/usr
15   sed -i -e 's/#!.*python/#!\/usr\/bin\/python2/g' itstool itstool.in
16   make
19 check() {
20   cd "$srcdir/$pkgname-$pkgver"
21   make -k check
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
26   make DESTDIR="$pkgdir/" install