diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-09-02 23:30:08 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-09-02 23:30:08 +0200 |
commit | 91dc9756dd08cd6701e619e5a62625964d29ec73 (patch) | |
tree | 6fb325aa8795b768f31d279d7b1307804d159829 /aur | |
parent | ecc7b606e5902ba39ed432c628e07377af94af5f (diff) | |
download | perl-app-clerk-91dc9756dd08cd6701e619e5a62625964d29ec73.tar.gz perl-app-clerk-91dc9756dd08cd6701e619e5a62625964d29ec73.tar.xz |
first commit
Diffstat (limited to 'aur')
-rw-r--r-- | aur/perl-module-scandeps/.SRCINFO | 19 | ||||
-rw-r--r-- | aur/perl-module-scandeps/PKGBUILD | 50 |
2 files changed, 69 insertions, 0 deletions
diff --git a/aur/perl-module-scandeps/.SRCINFO b/aur/perl-module-scandeps/.SRCINFO new file mode 100644 index 0000000..9973ce8 --- /dev/null +++ b/aur/perl-module-scandeps/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Sep 2 21:29:56 UTC 2017 +pkgbase = perl-module-scandeps + pkgdesc = Recursively scan Perl code for dependencies + pkgver = 1.24 + pkgrel = 1 + url = https://metacpan.org/release/Module-ScanDeps + arch = any + license = PerlArtistic + license = GPL + checkdepends = perl-test-requires>=0 + depends = perl>=5.8.1 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1.24.tar.gz + md5sums = 353763269196b6232b71b84e1f9d8c5d + sha512sums = 7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889 + +pkgname = perl-module-scandeps + diff --git a/aur/perl-module-scandeps/PKGBUILD b/aur/perl-module-scandeps/PKGBUILD new file mode 100644 index 0000000..37b240e --- /dev/null +++ b/aur/perl-module-scandeps/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer : Rasmus Steinke <rasi at xssn dot at> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-module-scandeps' +pkgver='1.24' +pkgrel='1' +pkgdesc="Recursively scan Perl code for dependencies" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.8.1') +makedepends=() +checkdepends=('perl-test-requires>=0') +url='https://metacpan.org/release/Module-ScanDeps' +source=('http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1.24.tar.gz') +md5sums=('353763269196b6232b71b84e1f9d8c5d') +sha512sums=('7f3d9821aa863d8ebc78fb5fb3c7172ce133169ec54ed91b90e05ba50654b4bd0282b3a760adfc8b6bd553dda4116dbf51972bb2af94b59f6f04daeba996e889') +_distdir="Module-ScanDeps-1.24" + +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: |