itstool: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:40:19 +02:00
parent f783004930
commit 5c884c9d8f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/en4PKLWdUnJcPdGPKIUqZdMVZ8Gcs/hMm7aJ4sV4AMDbMsAwoo5i8CsLKxkqRuezQfBFdCnIx2vhyByNbcVzw4=
SHA256 (Pkgfile) = 57de5782dbe6379f76f127a7e78740330e8d92c696ab90f9ccff4c94f6fc2e59
RWSE3ohX2g5d/T+h5H0cPE+9Q2EBjCKSqCmWcxFnY2/n3AzQp7Tdmu+am4oNVvgmU8vp2fUlqv9WvfzUrgl/BxG81gAbKkyPngY=
SHA256 (Pkgfile) = 52be947502a80560c69dd9a6343100b5774d08feba34819be8ec298efdcf0b9f
SHA256 (.footprint) = c4575ed0855fe330812c99fc5a1cad8647601e5ef70601a67151289b91d16ee6
SHA256 (itstool-2.0.7.tar.bz2) = 6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca
SHA256 (fix_crash_918953.patch) = 6ab00fc14b24acded1dde2d35eaf209a17bdf83c7002cf20abb2281b0c84f8ab

View File

@ -1,24 +1,24 @@
# Description: XML to PO and back again.
# Description: XML to PO and back again
# URL: https://itstool.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libxml2
name=itstool
version=2.0.7
release=3
source=(https://files.itstool.org/itstool/$name-$version.tar.bz2
fix_crash_918953.patch
fix_crash_912099.patch)
fix_crash_918953.patch
fix_crash_912099.patch)
build() {
cd $name-$version
cd $name-$version
patch -p1 -i $SRC/fix_crash_912099.patch
patch -p1 -i $SRC/fix_crash_918953.patch
patch -p1 -i $SRC/fix_crash_912099.patch
patch -p1 -i $SRC/fix_crash_918953.patch
PYTHON=/usr/bin/python3 \
./configure --prefix=/usr
PYTHON=/usr/bin/python3 \
./configure --prefix=/usr
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
}