diff options
Diffstat (limited to 'main/perl-xml-namespacesupport')
-rw-r--r-- | main/perl-xml-namespacesupport/APKBUILD | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/main/perl-xml-namespacesupport/APKBUILD b/main/perl-xml-namespacesupport/APKBUILD index 3378ce3baf..5f492001bb 100644 --- a/main/perl-xml-namespacesupport/APKBUILD +++ b/main/perl-xml-namespacesupport/APKBUILD @@ -1,42 +1,34 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-xml-namespacesupport -pkgver=1.11 -pkgrel=1 +pkgver=1.12 +pkgrel=0 pkgdesc="Generic namespace helpers (ported from SAX2)" url="http://search.cpan.org/dist/XML-NamespaceSupport" arch="noarch" license="GPL" depends="perl" -depends_dev="" makedepends="perl-dev" -install="" subpackages="$pkgname-doc" source="http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$pkgver.tar.gz" -_builddir="$srcdir"/XML-NamespaceSupport-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done +builddir="$srcdir"/XML-NamespaceSupport-$pkgver + +check() { + cd "$builddir" + make test } build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="222cca76161cd956d724286d36b607da XML-NamespaceSupport-1.11.tar.gz" -sha256sums="6d8151f0a3f102313d76b64bfd1c2d9ed46bfe63a16f038e7d860fda287b74ea XML-NamespaceSupport-1.11.tar.gz" -sha512sums="cc1bd5f457dc80e46fb9904fb9dfe2bdf8bffdad8f436f0e8f5977dbc6924ef9eeceac61d8ab80df1bfcb5e14fe2476421831f47f9354726dd3b536beade0381 XML-NamespaceSupport-1.11.tar.gz" +sha512sums="8a29698acc152888b3abd53b277f89209252830cc3b57d587a5b66e5019445d7c1858a08fa548d42387c1143b726da1440e36eb0c69b0b59c3770b5f528f38b2 XML-NamespaceSupport-1.12.tar.gz" |