summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-21 09:43:43 +0200
committerErich Eckner <git@eckner.net>2016-04-21 09:43:43 +0200
commit99ef5063d956a330a1cd4482a0669e5f57529e63 (patch)
tree952ede0bbc52e3fd979534c74d12d1287658009b
parent387d55ddcaed6658cfbf3a77810298384fff9528 (diff)
downloadarchlinuxewe-99ef5063d956a330a1cd4482a0669e5f57529e63.tar.xz
perl-class-xsaccessor neu
-rw-r--r--perl-class-xsaccessor/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/perl-class-xsaccessor/PKGBUILD b/perl-class-xsaccessor/PKGBUILD
new file mode 100644
index 000000000..066feac9d
--- /dev/null
+++ b/perl-class-xsaccessor/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer : Erich Eckner <arch at eckner dot net>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.30
+
+pkgname='perl-class-xsaccessor'
+pkgver='1.19'
+pkgrel='1'
+pkgdesc="Generate fast XS accessors without runtime compilation"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://metacpan.org/release/Class-XSAccessor'
+_distdir="Class-XSAccessor-${pkgver}"
+source=("http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/${_distdir}.tar.gz")
+sha512sums=('58855bb2108b60cc90ae1d1c4d6a011da7bac2d063c7c953ff8610ae164ba60731a664f0fbddf148e1eabb60042913a17633a9c9a8936a23a59130b381bf63f8')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: