From bde89d33acf187f30a326f4c202061ff5a538829 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sun, 31 Jan 2021 21:34:26 +1100 Subject: [PATCH] itstool: contrib -> opt --- itstool/.footprint | 15 +++++++++++++++ itstool/.signature | 5 +++++ itstool/Pkgfile | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 itstool/.footprint create mode 100644 itstool/.signature create mode 100644 itstool/Pkgfile diff --git a/itstool/.footprint b/itstool/.footprint new file mode 100644 index 000000000..6f778d526 --- /dev/null +++ b/itstool/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/itstool +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/itstool/ +drwxr-xr-x root/root usr/share/itstool/its/ +-rw-r--r-- root/root usr/share/itstool/its/docbook.its +-rw-r--r-- root/root usr/share/itstool/its/docbook5.its +-rw-r--r-- root/root usr/share/itstool/its/its.its +-rw-r--r-- root/root usr/share/itstool/its/mallard.its +-rw-r--r-- root/root usr/share/itstool/its/ttml.its +-rw-r--r-- root/root usr/share/itstool/its/xhtml.its +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/itstool.1.gz diff --git a/itstool/.signature b/itstool/.signature new file mode 100644 index 000000000..54403a90f --- /dev/null +++ b/itstool/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Ue3AciA3iT0SvcyN/lQpyutk16Exl9bfyP8rKvQY2wOQ2qarN32lekJnka7oejoLKL48R4telBDUmXVLjeZJww= +SHA256 (Pkgfile) = 0e79ad7775b2d8f81344f5921545e5130a6d7aba93e5e222efd467a508896f4f +SHA256 (.footprint) = c4575ed0855fe330812c99fc5a1cad8647601e5ef70601a67151289b91d16ee6 +SHA256 (itstool-2.0.6.tar.bz2) = 6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9 diff --git a/itstool/Pkgfile b/itstool/Pkgfile new file mode 100644 index 000000000..e0d0922f4 --- /dev/null +++ b/itstool/Pkgfile @@ -0,0 +1,19 @@ +# Description: XML to PO and back again. +# URL: http://itstool.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python3-libxml2 + +name=itstool +version=2.0.6 +release=2 +source=(http://files.itstool.org/itstool/$name-$version.tar.bz2) + +build() { + cd $name-$version + + PYTHON=/usr/bin/python3 \ + ./configure --prefix=/usr + + make + make DESTDIR=$PKG install +}