aboutsummaryrefslogtreecommitdiffstats
path: root/main/po4a/APKBUILD
blob: c340e4314b8e777a656a3f890cc952cbdfc56af9 (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
31
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"