mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-16 11:12:00 +02:00
main/po4a: new aport
This commit is contained in:
parent
feea0cc49f
commit
d41f4890ce
32
main/po4a/APKBUILD
Normal file
32
main/po4a/APKBUILD
Normal file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user