← recipes

Commit d7722e9

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