opt/itstool/Pkgfile

23 lines
463 B
Plaintext
Raw Normal View History

2021-01-31 11:34:26 +01:00
# Description: XML to PO and back again.
# URL: https://itstool.org/
2021-01-31 11:34:26 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libxml2
2021-01-31 11:34:26 +01:00
name=itstool
2021-10-24 16:38:32 +02:00
version=2.0.7
release=2
source=(https://files.itstool.org/itstool/$name-$version.tar.bz2
0001-Fix-the-crash-from-912099.patch)
2021-01-31 11:34:26 +01:00
build() {
cd $name-$version
patch -p1 -i $SRC/0001-Fix-the-crash-from-912099.patch
2021-01-31 11:34:26 +01:00
PYTHON=/usr/bin/python3 \
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}