aboutsummaryrefslogtreecommitdiffstats
path: root/main/po4a
diff options
context:
space:
mode:
Diffstat (limited to 'main/po4a')
-rw-r--r--main/po4a/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/po4a/APKBUILD b/main/po4a/APKBUILD
new file mode 100644
index 0000000000..c340e4314b
--- /dev/null
+++ b/main/po4a/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Christian Kampka <christian@kampka.net>
+pkgname=po4a
+pkgver=0.48
+pkgrel=0
+_dlid=4176
+pkgdesc="Tools for helping translation of documentation"
+url="https://po4a.alioth.debian.org"
+arch="noarch"
+license="GPL"
+depends="perl gettext"
+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"
+builddir="$srcdir/${pkgname}-${pkgver}"
+
+
+build() {
+ cd "$builddir"
+ perl Build.PL installdirs=vendor create_packlist=0 || return 1
+ perl Build || return 1
+}
+
+package() {
+ cd "$builddir"
+ perl Build destdir=${pkgdir} install || return 1
+ # remove perllocal.pod and .packlist
+ find ${pkgdir} -name .packlist -o -name perllocal.pod -delete || return 1
+}
+
+md5sums="5c8fa9b6a23586d3860d0767bed65148 po4a-0.48.tar.gz"
+sha256sums="a89595ca42e896c97ce4ffc231a075cc88692216b4bc05df40414d7428c4286c po4a-0.48.tar.gz"
+sha512sums="aed3203a5030e47af018a46f236001b585673050c9418a7c8d542e6d2426f109c1ecafedce7354c2e538743baa3241653f63c3927b1cdd32500ea00f51ae73cf po4a-0.48.tar.gz"