blob: c3bcce336a1ce5942ec24cb0c8955c851b7d94e2 (
plain) (
tree)
|
|
# Contributor: Christian Kampka <christian@kampka.net>
# Maintainer:
pkgname=po4a
pkgver=0.55
pkgrel=0
pkgdesc="Tools for helping translation of documentation"
url="https://po4a.org"
arch="noarch"
options="!check" # massive incompetence
license="GPL-2.0-only"
depends="perl gettext-tiny perl-sgmls perl-unicode-linebreak"
makedepends="docbook-xsl perl-module-build diffutils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/mquinson/po4a/releases/download/v$pkgver/po4a-$pkgver.tar.gz"
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="95f7408caf2c603f2ea86d8439e99c39be72dca019361106190bd6e1f95679c6627280bcd02a2d9c843071a6ce96747bf5b4d85c9051344b08f32deade2cb599 po4a-0.55.tar.gz"
|