diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-05-17 14:38:47 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-05-17 14:38:47 +0000 |
commit | c720509967304f8e7a3de10561982ee8d6531c4e (patch) | |
tree | f26a2735e6918c4e69716ec269779f0c7d3d270d /main | |
parent | 7c9a29869d85de80dc97b7a9207a585b343f58ab (diff) | |
download | aports-c720509967304f8e7a3de10561982ee8d6531c4e.tar.bz2 aports-c720509967304f8e7a3de10561982ee8d6531c4e.tar.xz |
main/perl-xml-namespacesupport: move to main for building perl-xml-base
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-xml-namespacesupport/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-xml-namespacesupport/APKBUILD b/main/perl-xml-namespacesupport/APKBUILD new file mode 100644 index 0000000000..3378ce3baf --- /dev/null +++ b/main/perl-xml-namespacesupport/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=perl-xml-namespacesupport +pkgver=1.11 +pkgrel=1 +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 +} + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + 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" |