diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 19:06:54 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 19:06:54 -0500 |
commit | 2776eafbf3a598513a14926e423aadd0b86b17ba (patch) | |
tree | 2d07844efe929d42d492f15d8717224142808682 | |
parent | e1a98338ee60e3e49cb1198299fac961e2d99ea6 (diff) | |
download | packages-2776eafbf3a598513a14926e423aadd0b86b17ba.tar.gz packages-2776eafbf3a598513a14926e423aadd0b86b17ba.tar.bz2 packages-2776eafbf3a598513a14926e423aadd0b86b17ba.tar.xz packages-2776eafbf3a598513a14926e423aadd0b86b17ba.zip |
system/po4a: pull in for fakeroot
-rw-r--r-- | system/po4a/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/system/po4a/APKBUILD b/system/po4a/APKBUILD new file mode 100644 index 000000000..7ef97b2bb --- /dev/null +++ b/system/po4a/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Christian Kampka <christian@kampka.net> +# Maintainer: +pkgname=po4a +pkgver=0.51 +pkgrel=1 +_dlid=4214 +pkgdesc="Tools for helping translation of documentation" +url="https://po4a.alioth.debian.org" +arch="noarch" +options="!check" # comments changed format, it fails +license="GPL-2.0-only" +depends="perl gettext-tiny" +makedepends="docbook-xsl perl-module-build diffutils" +subpackages="$pkgname-doc $pkgname-lang" +source="https://alioth.debian.org/frs/download.php/file/${_dlid}/${pkgname}-${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="dd4ecf4eab59c41466b11828b7a4e5e06cfa8b8a188f808b05ef5aa163ba463ebf44485225c4bbdefcdd42b56d5956d9bc96c34dba12557f098723b7edde18b6 po4a-0.51.tar.gz" |