# Maintainer: Christian Kampka pkgname=po4a pkgver=0.55 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/${pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir/${pkgname}-${pkgver}" 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="dfaaa314205d9ee2e66c3ebb1e01e6b46c4680fab9463185f2f539e22777749f47a758a1c2787a2dd4c865164eec9e795d58fd534fbe90cecd41bb260f9639d7 po4a-0.55.tar.gz"