blob: 6fdc104841b4b85ef451f48927b7924c567bf4c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
|