summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-05 15:46:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-05 15:46:19 (GMT)
commita24b34a8fdf3b633d0df9cd310b53f1e729876a8 (patch)
tree27492361a0ac6bfb60fac53005500eb03d65e113
parent75760948929ac8ce32a53c34f06a035a25ea15bb (diff)
downloadlinhes_pkgbuild-a24b34a8fdf3b633d0df9cd310b53f1e729876a8.zip
linhes_pkgbuild-a24b34a8fdf3b633d0df9cd310b53f1e729876a8.tar.gz
linhes_pkgbuild-a24b34a8fdf3b633d0df9cd310b53f1e729876a8.tar.bz2
perl-file-homedir: .99
Needed for the Schedules direct QAM scripts refs #873
-rw-r--r--abs/core/perl_modules/perl-file-homedir/PKGBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-file-homedir/PKGBUILD b/abs/core/perl_modules/perl-file-homedir/PKGBUILD
new file mode 100644
index 0000000..89f9735
--- /dev/null
+++ b/abs/core/perl_modules/perl-file-homedir/PKGBUILD
@@ -0,0 +1,48 @@
+# Generator : CPANPLUS::Dist::Arch 1.19
+
+pkgname='perl-file-homedir'
+pkgver='0.99'
+pkgrel='1'
+pkgdesc="Find your home and other directories on any platform"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.5.30' 'perl-file-which>=0.05')
+makedepends=()
+url='http://search.cpan.org/dist/File-HomeDir'
+source=('http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-0.99.tar.gz')
+md5sums=('cb058c68393631344c2b906026091016')
+sha512sums=('ac154f07105fc0267488f152fa9b853f252a8ae8f8dcb39d204ae305ff2ff24e3682ff41b0f5dbb81fe5f8e842e555de009e93704084611b8f8e0e2d4c12192b')
+_distdir="${srcdir}/File-HomeDir-0.99"
+
+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 "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$_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: