summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 15:24:50 -0600
committerJohn D Jones III2015-06-16 15:24:50 -0600
commitfa89e84d1d4dbe8a679acd474caeb96b013035cf (patch)
tree10223ec37665609acb32995b5b0fb8eb367190bc
downloadaur-fa89e84d1d4dbe8a679acd474caeb96b013035cf.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD50
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..4760756dbbb8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = perl-module-locate
+ pkgdesc = locate modules in the same fashion as require and use
+ pkgver = 1.79
+ pkgrel = 1
+ url = http://search.mcpan.org/dist/Module-Locate
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Module-Locate-1.79.tar.gz
+ md5sums = e76c817b0c3096b9e58e57887e7b81b1
+ sha512sums = 5c5029c54d82e91821a07274cdf6465f1f4c6ab443f0f3a6283d2177cb0097f164ba52edab3c0b364d4eb926ea50bf4632ab1f9039ed2336559f89dade9545c2
+
+pkgname = perl-module-locate
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e8319a0bd23d
--- /dev/null
+++ b/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-module-locate'
+pkgver='1.79'
+pkgrel='1'
+pkgdesc="locate modules in the same fashion as require and use"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.mcpan.org/dist/Module-Locate'
+source=('http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Module-Locate-1.79.tar.gz')
+md5sums=('e76c817b0c3096b9e58e57887e7b81b1')
+sha512sums=('5c5029c54d82e91821a07274cdf6465f1f4c6ab443f0f3a6283d2177cb0097f164ba52edab3c0b364d4eb926ea50bf4632ab1f9039ed2336559f89dade9545c2')
+_distdir="Module-Locate-1.79"
+
+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: