summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 17:07:57 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 17:07:57 -0500
commit5c84a56ebe047fbb9e98304af169645ba26637c6 (patch)
tree65de1573b22d1eefd60431931e4dbc178d8e5127 /user
parentab53dadeb2c22b0e8dbe1b1753a4f4135a2925a8 (diff)
downloadpackages-5c84a56ebe047fbb9e98304af169645ba26637c6.tar.gz
packages-5c84a56ebe047fbb9e98304af169645ba26637c6.tar.bz2
packages-5c84a56ebe047fbb9e98304af169645ba26637c6.tar.xz
packages-5c84a56ebe047fbb9e98304af169645ba26637c6.zip
user/perl-xml-simple: ugh
Diffstat (limited to 'user')
-rw-r--r--user/perl-xml-simple/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-xml-simple/APKBUILD b/user/perl-xml-simple/APKBUILD
new file mode 100644
index 000000000..9327c5fc3
--- /dev/null
+++ b/user/perl-xml-simple/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-simple
+pkgver=2.25
+pkgrel=0
+pkgdesc="A Perl module for parsing XML"
+url="https://metacpan.org/pod/XML::Simple"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl perl-xml-parser perl-xml-namespacesupport"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-Simple-$pkgver.tar.gz"
+builddir="$srcdir/XML-Simple-$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="0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c XML-Simple-2.25.tar.gz"