From ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 03:26:34 +0000 Subject: user/perl-class-xsaccessor: new package --- user/perl-class-xsaccessor/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-class-xsaccessor/APKBUILD diff --git a/user/perl-class-xsaccessor/APKBUILD b/user/perl-class-xsaccessor/APKBUILD new file mode 100644 index 000000000..6ef87555a --- /dev/null +++ b/user/perl-class-xsaccessor/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=perl-class-xsaccessor +pkgver=1.19 +pkgrel=0 +pkgdesc="Perl module to generate fast XS accessors without compilation" +url="https://metacpan.org/release/Class-XSAccessor" +arch="all" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Class-XSAccessor-$pkgver.tar.gz" +builddir="$srcdir/Class-XSAccessor-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="58855bb2108b60cc90ae1d1c4d6a011da7bac2d063c7c953ff8610ae164ba60731a664f0fbddf148e1eabb60042913a17633a9c9a8936a23a59130b381bf63f8 Class-XSAccessor-1.19.tar.gz" -- cgit v1.2.3-70-g09d2