# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Michael Pusterhofer pkgname=itstool pkgver=2.0.4+6+g2eb0a6c pkgrel=1 epoch=1 pkgdesc="XML to PO and back again" arch=(any) url="http://itstool.org/" license=(GPL3) depends=(python libxml2 docbook-xml) makedepends=(git) _commit=2eb0a6cd3b15b0bca5abf19ba0fcff45bd457523 # tags/2.0.4~6 source=("git+https://github.com/itstool/itstool#commit=$_commit") sha256sums=('SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } build() { cd $pkgname ./configure --prefix=/usr make } check() { cd $pkgname make check } package() { cd $pkgname make DESTDIR="$pkgdir" install }