summaryrefslogtreecommitdiff
path: root/user/perl-xml-namespacesupport/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 17:05:44 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 17:05:44 -0500
commitab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8 (patch)
treee6086d37494c9a5708387ebf6f6614220e5f9083 /user/perl-xml-namespacesupport/APKBUILD
parentc69e970ad632df9a086eada316ba3f5094afebb7 (diff)
downloadpackages-ab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8.tar.gz
packages-ab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8.tar.bz2
packages-ab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8.tar.xz
packages-ab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8.zip
user/perl-namespacesupport: new package
Diffstat (limited to 'user/perl-xml-namespacesupport/APKBUILD')
-rw-r--r--user/perl-xml-namespacesupport/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-xml-namespacesupport/APKBUILD b/user/perl-xml-namespacesupport/APKBUILD
new file mode 100644
index 000000000..e155f6b32
--- /dev/null
+++ b/user/perl-xml-namespacesupport/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-xml-namespacesupport
+pkgver=1.12
+pkgrel=0
+pkgdesc="A Perl module for processing XML namespaces"
+url="https://metacpan.org/pod/XML::NamespaceSupport"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$pkgver.tar.gz"
+builddir="$srcdir/XML-NamespaceSupport-$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="8a29698acc152888b3abd53b277f89209252830cc3b57d587a5b66e5019445d7c1858a08fa548d42387c1143b726da1440e36eb0c69b0b59c3770b5f528f38b2 XML-NamespaceSupport-1.12.tar.gz"