← recipes

Commit 3b7451f

0
plików
+0
dodanych
-0
usuniętych
@@ -1,28 +1,53 @@
1 -pkgname: 'itstool'
1 +pkgname: itstool
2 2 pkgver: '2.0.7'
3 -pkgrel: '1'
4 -pkgdesc: 'ITS-based XML translation tool'
3 +pkgrel: '4'
4 +pkgdesc: 'XML to PO template files and back'
5 5 url: 'http://itstool.org/'
6 6 arch: x86_64
7 7 license:
8 8 - GPL-3.0-or-later
9 9 depends:
10 -- 'python'
11 -- 'libxml2'
10 +- python
11 +- libxml2
12 12 makedepends:
13 -- 'python'
13 +- autoconf
14 +- automake
15 +- libtool
16 +- sed
17 +- docbook-xml
18 +- docbook-xsl
19 +- libxml2
20 +- python
14 21
15 22 source:
16 -- 'http://files.itstool.org/itstool/itstool-${pkgver}.tar.bz2'
23 +- 'fix-crash-wrong-encoding.patch'
24 +- 'http://files.itstool.org/itstool/${pkgname}-${pkgver}.tar.bz2'
17 25
18 26 sha256sums:
19 27 - SKIP
28 +- SKIP
29 +
30 +footprint: |
31 + drwxr-xr-x root/root usr/
32 + drwxr-xr-x root/root usr/bin/
33 + -rwxr-xr-x root/root usr/bin/itstool
34 + drwxr-xr-x root/root usr/share/
35 + drwxr-xr-x root/root usr/share/itstool/
36 + drwxr-xr-x root/root usr/share/itstool/its/
37 + -rw-r--r-- root/root usr/share/itstool/its/docbook.its
38 + -rw-r--r-- root/root usr/share/itstool/its/docbook5.its
39 + -rw-r--r-- root/root usr/share/itstool/its/its.its
40 + -rw-r--r-- root/root usr/share/itstool/its/mallard.its
41 + -rw-r--r-- root/root usr/share/itstool/its/ttml.its
42 + -rw-r--r-- root/root usr/share/itstool/its/xhtml.its
20 43
21 44 build: |
22 - cd itstool-${pkgver}
45 + cd ${pkgname}-${pkgver}
46 + patch -Np1 -i ../fix-crash-wrong-encoding.patch
47 + autoreconf -fvi
23 48 PYTHON=/usr/bin/python3 ./configure --prefix=/usr
24 49 make
50 + make DESTDIR="${PKGDIR}" install
25 51
26 52 package: |
27 - cd itstool-${pkgver}
28 - make DESTDIR="${PKGDIR}" install
53 + true