blob: aeebb222439b978011b014c86f4e745bbcc152d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Christian Kampka <christian@kampka.net>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=po4a
pkgver=0.66
pkgrel=0
pkgdesc="Tools for helping translation of documentation"
url="https://po4a.org"
arch="noarch"
# most of t/cfg-* requires GNU extensions to gettext tools
# t/fmt-sgml requires onsgmls(1), part of opensp
# t/fmt-tex requires kpsewhich(1), part of TeX
options="!check"
license="GPL-2.0-only"
depends="perl gettext-tiny perl-pod-parser perl-sgmls perl-unicode-linebreak
perl-yaml-tiny"
makedepends="docbook-xsl perl-module-build diffutils"
# -lang would require Locale::gettext
subpackages="$pkgname-doc"
source="https://github.com/mquinson/po4a/releases/download/v$pkgver/po4a-$pkgver.tar.gz
disable-stats.patch
"
build() {
perl Build.PL installdirs=vendor create_packlist=0
perl Build
}
check() {
perl Build test
}
package() {
perl Build destdir=${pkgdir} install
# remove perllocal.pod and .packlist
find ${pkgdir} -name .packlist -o -name perllocal.pod -delete
}
sha512sums="f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4 po4a-0.66.tar.gz
4877c3be93b9f6da56db75feb3c72433a14aef465401d0f39db62a1914cc69f062c03a6001f96e5fd726eadd63d0b6094835e30cfe4ce865945af4195d9ee07f disable-stats.patch"
|