From 4b5db770f22714a3d481f3ab091e28d140e5d053 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 11 Jan 2019 21:01:03 +0000 Subject: user/perl-xml-sax: new package --- user/perl-xml-sax/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/perl-xml-sax/APKBUILD (limited to 'user/perl-xml-sax/APKBUILD') diff --git a/user/perl-xml-sax/APKBUILD b/user/perl-xml-sax/APKBUILD new file mode 100644 index 000000000..5f6559057 --- /dev/null +++ b/user/perl-xml-sax/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-xml-sax +pkgver=1.00 +pkgrel=0 +pkgdesc="Perl SAX parser" +url="https://metacpan.org/release/XML-SAX" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl-xml-namespacesupport perl-xml-sax-base" +makedepends="perl-dev" +install="$pkgname.post-install $pkgname.pre-deinstall" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz + install-fix.patch + " +builddir="$srcdir/XML-SAX-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="95553c9693d8a310747b4b86d4e80a58d4056b18cfc334f6979c98d0e9034a34253bfb17daecfc5bb28b1bd65e6baf52136f5135a969fadba86aa4148ea9bc1d XML-SAX-1.00.tar.gz +a2177f0aa00bb31c41298f0c622f800ac0dddb1d30bc1bf86e035cfd8327fa8078baf46587ffd4a782c22fba0783709f2459c81b95a8ef86e1fd4e4058e3a166 install-fix.patch" -- cgit v1.2.3-70-g09d2