diff options
author | John D Jones III | 2016-04-23 18:01:17 -0600 |
---|---|---|
committer | John D Jones III | 2016-04-23 18:01:17 -0600 |
commit | aec50d08e19aa38708e8dac747a034ad8f98f2ac (patch) | |
tree | c72b13efc76fd83afca928ac1e3d18b49d338de8 | |
download | aur-aec50d08e19aa38708e8dac747a034ad8f98f2ac.tar.gz |
Grrr.... Getting tired of all these missings deps...
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..350e01856f81 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sun Apr 24 00:00:51 UTC 2016 +pkgbase = perl-test-refcount + pkgdesc = assert reference counts on objects + pkgver = 0.08 + pkgrel = 1 + url = https://metacpan.org/release/Test-Refcount + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Refcount-0.08.tar.gz + md5sums = bcf11e5f0103568674bcc15d2168932e + sha512sums = 9a5ffe332f9a61c2f019963f49117f4a6af0b855371cd6aa24cc5e3edd7ee6caa54f25bcdd1edf57044c764030f8db37a1ee232d49130656643135cfac96d570 + +pkgname = perl-test-refcount + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8b3b59a5f6d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-test-refcount' +pkgver='0.08' +pkgrel='1' +pkgdesc="assert reference counts on objects" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='https://metacpan.org/release/Test-Refcount' +source=('http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Refcount-0.08.tar.gz') +md5sums=('bcf11e5f0103568674bcc15d2168932e') +sha512sums=('9a5ffe332f9a61c2f019963f49117f4a6af0b855371cd6aa24cc5e3edd7ee6caa54f25bcdd1edf57044c764030f8db37a1ee232d49130656643135cfac96d570') +_distdir="Test-Refcount-0.08" + +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: |