opt/itstool/Pkgfile

25 lines
501 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=3
source=(https://files.itstool.org/itstool/$name-$version.tar.bz2
fix_crash_918953.patch
2023-05-14 16:11:19 +02:00
fix_crash_912099.patch)
2021-01-31 11:34:26 +01:00
build() {
cd $name-$version
2023-05-14 16:11:19 +02:00
patch -p1 -i $SRC/fix_crash_912099.patch
patch -p1 -i $SRC/fix_crash_918953.patch
2021-01-31 11:34:26 +01:00
PYTHON=/usr/bin/python3 \
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}