1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
8 pkgdesc="XML to PO and back again"
10 url="http://itstool.org/"
12 depends=(python libxml2 docbook-xml)
14 _commit=f1c6544dcd83a73a5ccea9e0c48cf9a47e006190 # tags/2.0.7^0
15 source=("git+https://github.com/itstool/itstool#commit=$_commit"
16 0001-Fix-the-crash-from-912099.patch)
18 'b43cea38118aaefa6724136d142dcc7099cd6de04cf2e226f53d4310dfe207cc')
22 git describe --tags | sed 's/-/+/g'
28 # https://src.fedoraproject.org/rpms/itstool/blob/rawhide/f/itstool-2.0.5-fix-crash-wrong-encoding.patch
29 git apply -3 ../0001-Fix-the-crash-from-912099.patch
36 ./configure --prefix=/usr
47 make DESTDIR="$pkgdir" install