diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 03:26:34 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 03:26:34 +0000 |
commit | ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad (patch) | |
tree | 8f2df8bcd956878b32028c949e521458c7d44821 /user | |
parent | 0f4b210c869143bde2fc27ba188c7dd355abb220 (diff) | |
download | packages-ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad.tar.gz packages-ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad.tar.bz2 packages-ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad.tar.xz packages-ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad.zip |
user/perl-class-xsaccessor: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-class-xsaccessor/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |