summaryrefslogtreecommitdiff
path: root/user/perl-feature-compat-class
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-feature-compat-class')
-rw-r--r--user/perl-feature-compat-class/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-feature-compat-class/APKBUILD b/user/perl-feature-compat-class/APKBUILD
new file mode 100644
index 000000000..6fdc10484
--- /dev/null
+++ b/user/perl-feature-compat-class/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-feature-compat-class
+_pkgreal=Feature-Compat-Class
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.05
+pkgrel=0
+pkgdesc="Perl module for providing class syntax and related keywords"
+url="https://metacpan.org/pod/Feature::Compat::Class"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl perl-object-pad perl-xs-parse-keyword perl-xs-parse-sublike"
+checkdepends="perl-test-fatal"
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Feature-Compat-Class-$pkgver.tar.gz"
+builddir="$srcdir/Feature-Compat-Class-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="a8e51655d69f5b087bb86eb1abdbcacea85dc376dafd9d32d8fa971175484b4441c5efedd8a3d1fcc5bb741a9367a871967bdfabaa070d02fd8bbf1123cc7c59 Feature-Compat-Class-0.05.tar.gz"