aboutsummaryrefslogtreecommitdiffstats
path: root/main/po4a/APKBUILD
blob: 14efa9892c0d0d6f4708be4f3472bb5044483f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Christian Kampka <christian@kampka.net>
pkgname=po4a
pkgver=0.50
pkgrel=0
_dlid=4213
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
}

sha512sums="3afc1e81bbd53aad2cd719bc39bb11aea87703c1c45d76d5cada347963605bb2d36b3866266b528580a770ba4178f0cefb8234c0b67510adb47d62cc1d39be97  po4a-0.50.tar.gz"