summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:22:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:22:19 +0000
commit272dbccd66c28d0461cc272c91082b9c633b7edb (patch)
treec65b259686adfc4b1a9041c7a942a4c6cd4835ed /user
parente3413d5606df664bd827d0b65d544c396c55e6fe (diff)
downloadpackages-272dbccd66c28d0461cc272c91082b9c633b7edb.tar.gz
packages-272dbccd66c28d0461cc272c91082b9c633b7edb.tar.bz2
packages-272dbccd66c28d0461cc272c91082b9c633b7edb.tar.xz
packages-272dbccd66c28d0461cc272c91082b9c633b7edb.zip
user/perl-xml-twig: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-xml-twig/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-xml-twig/APKBUILD b/user/perl-xml-twig/APKBUILD
new file mode 100644
index 000000000..1966fd173
--- /dev/null
+++ b/user/perl-xml-twig/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-xml-twig
+_pkgname=XML-Twig
+pkgver=3.52
+pkgrel=0
+pkgdesc="XML, the Perl way"
+url="https://metacpan.org/release/XML-Twig"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-xml-parser"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/M/MI/MIROD/XML-Twig-$pkgver.tar.gz"
+builddir="$srcdir/XML-Twig-$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="1594e127fb76c0e53d0bd1f0a12fe3874c9523dd2bc55675d5a6cf44d5682ddea481671f786d3a65e6b69f5307c4da1701529f318453a1f8a22685b2dae793a6 XML-Twig-3.52.tar.gz"