summaryrefslogblamecommitdiff
path: root/user/perl-feature-compat-class/APKBUILD
blob: 89c19d14165b581d0be7acf0c090486716e4a75b (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           

























                                                                                             
                                                                                                                                                                               
# 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.06
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="5b3c933923be62f82b84b5c6ffa5edeaf1e585ba8cf0d166d61eb177df3ec391a709ae1418eea57bac57e7f4be9bdb600998e035cef8b11baaa9e2a55cde07bc  Feature-Compat-Class-0.06.tar.gz"