APKBUILD 1 KB
Newer Older
1
# Automatically generated by apkbuild-cpan, template 1
2
3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
4
5
pkgname=perl-class-xsaccessor
_pkgreal=Class-XSAccessor
6
pkgver=1.19
7
pkgrel=10
8
pkgdesc="Generate fast XS accessors without runtime compilation"
9
url="https://metacpan.org/release/Class-XSAccessor"
10
arch="all"
11
12
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
13
subpackages="$pkgname-doc"
14
source="https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/$_pkgreal-$pkgver.tar.gz"
15

16
builddir="$srcdir/$_pkgreal-$pkgver"
17
18

prepare() {
19
20
	default_prepare

21
22
23
24
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
25
26
27
28
29
	make
}

check() {
	make test
30
31
32
}

package() {
33
	make DESTDIR="$pkgdir" install
34
35
36
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

37
sha512sums="58855bb2108b60cc90ae1d1c4d6a011da7bac2d063c7c953ff8610ae164ba60731a664f0fbddf148e1eabb60042913a17633a9c9a8936a23a59130b381bf63f8  Class-XSAccessor-1.19.tar.gz"