blob: b997e6cb373d2720905602b03473438fab4beb55 (
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.51
pkgrel=0
_dlid=4214
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="dd4ecf4eab59c41466b11828b7a4e5e06cfa8b8a188f808b05ef5aa163ba463ebf44485225c4bbdefcdd42b56d5956d9bc96c34dba12557f098723b7edde18b6 po4a-0.51.tar.gz"
|