diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-03-13 06:46:37 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2023-03-31 05:35:55 +0000 |
commit | 0c47e2696f36ac63ea44b6acc649e4be9155df49 (patch) | |
tree | bb5301b4aae809c8c56210a745f76ddd0636a1e1 | |
parent | 473309d974eaa0aee11039e20757c637327fd8f8 (diff) | |
download | packages-0c47e2696f36ac63ea44b6acc649e4be9155df49.tar.gz packages-0c47e2696f36ac63ea44b6acc649e4be9155df49.tar.bz2 packages-0c47e2696f36ac63ea44b6acc649e4be9155df49.tar.xz packages-0c47e2696f36ac63ea44b6acc649e4be9155df49.zip |
perl-feature-compat-class: new package
-rw-r--r-- | user/perl-feature-compat-class/APKBUILD | 35 |
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" |