po4a: use correct build_style

This commit is contained in:
newbluemoon 2017-09-17 08:09:21 +02:00 committed by Michael Gehring
parent 6478bacc93
commit 68d24c39be

View File

@ -1,7 +1,8 @@
# Template file for 'po4a'
pkgname=po4a
version=0.52
revision=1
revision=2
build_style="perl-ModuleBuild"
noarch=yes
_perldeps="perl perl-Text-WrapI18N perl-Term-ReadKey perl-Unicode-LineBreak perl-SGMLSpm"
hostmakedepends="${_perldeps} perl-Locale-gettext perl-Module-Build libxslt docbook-xsl"
@ -13,15 +14,3 @@ license="GPL-2"
homepage="http://po4a.alioth.debian.org/"
distfiles="https://alioth.debian.org/frs/download.php/file/4229/${pkgname}-${version}.tar.gz"
checksum=60a243da3ae372f019cd71483d46c898897f8692958403dfc2c8001c713e6fcf
do_configure() {
perl Build.PL --destdir ${DESTDIR}
}
do_build() {
./Build
}
do_install() {
./Build install
}