# Maintainer: Christian Kampka pkgname=po4a pkgver=0.57 pkgrel=0 pkgdesc="Tools for helping translation of documentation" url="https://po4a.org" arch="noarch" license="GPL-2.0-or-later" options="!check" # test_requires missing: SGMLS and Unicode::GCString depends="gettext perl" makedepends="diffutils docbook-xsl perl-module-build" subpackages="$pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/mquinson/po4a/archive/v$pkgver.tar.gz" build() { cd "$builddir" perl Build.PL installdirs=vendor create_packlist=0 perl Build } check() { cd "$builddir" perl Build test } package() { cd "$builddir" perl Build destdir=${pkgdir} install # remove perllocal.pod and .packlist find ${pkgdir} -name .packlist -o -name perllocal.pod -delete } sha512sums="d01a19d4702c2bba1ef26e3149e865927aec7e6f3e5d7495aa3927fa34228e795cb76786b6a119d7eafc62de38949ab1b9e176bfcf8ead8875b9813124a6dab5 po4a-0.57.tar.gz"