blob: ecbbc375bcdcb6b793d426ab04afd1eb1201ac45 (
plain) (
tree)
|
|
# Contributor: Christian Kampka <christian@kampka.net>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=po4a
pkgver=0.56
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-pod-parser 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="4fc1ca5743471577d9e8bd0b80285b9dbd83b964f8e828472787a6deaf8b8388bb7f96e68afab4119c1f5488fe371d3b1fa94b101204a59228d1cc2f0878f3c1 po4a-0.56.tar.gz"
|