diff options
author | Erich Eckner <git@eckner.net> | 2016-04-05 13:45:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-05 13:45:04 +0200 |
commit | ad70d5624f2b211b4e039ff17e7af08baca05f17 (patch) | |
tree | 6cef00dca8321f6f1dd5d126058ef0dd0221e49d | |
parent | 2f64f125eae52f8cc29be26c142b61aebb858860 (diff) | |
download | archlinuxewe-ad70d5624f2b211b4e039ff17e7af08baca05f17.tar.xz |
perl-mixin-linewise neu
-rw-r--r-- | perl-mixin-linewise/.SRCINFO | 17 | ||||
-rw-r--r-- | perl-mixin-linewise/PKGBUILD | 50 |
2 files changed, 67 insertions, 0 deletions
diff --git a/perl-mixin-linewise/.SRCINFO b/perl-mixin-linewise/.SRCINFO new file mode 100644 index 000000000..972facec3 --- /dev/null +++ b/perl-mixin-linewise/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = perl-mixin-linewise + pkgdesc = write your linewise code for handles; this does the rest + pkgver = 0.106 + pkgrel = 1 + url = http://search.mcpan.org/dist/Mixin-Linewise + arch = any + license = PerlArtistic + license = GPL + depends = perl-perlio-utf8-strict + depends = perl-sub-exporter + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-Linewise-0.106.tar.gz + md5sums = d4699cde97d8286f44624c1d19663334 + sha512sums = 976b139528f728c36ed865fd31430084f24522fc3fada3c4be1beaced2f05ffce09a2e996a3f4e1aade91e3264df81d8de2eafe56ec806d5d3f22446ce6d45c8 + +pkgname = perl-mixin-linewise + diff --git a/perl-mixin-linewise/PKGBUILD b/perl-mixin-linewise/PKGBUILD new file mode 100644 index 000000000..a1ed08eb3 --- /dev/null +++ b/perl-mixin-linewise/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.27 + +pkgname='perl-mixin-linewise' +pkgver='0.106' +pkgrel='1' +pkgdesc="write your linewise code for handles; this does the rest" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-perlio-utf8-strict' 'perl-sub-exporter') +makedepends=() +url='http://search.mcpan.org/dist/Mixin-Linewise' +source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-Linewise-0.106.tar.gz') +md5sums=('d4699cde97d8286f44624c1d19663334') +sha512sums=('976b139528f728c36ed865fd31430084f24522fc3fada3c4be1beaced2f05ffce09a2e996a3f4e1aade91e3264df81d8de2eafe56ec806d5d3f22446ce6d45c8') +_distdir="Mixin-Linewise-0.106" + +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: |