From 1caa1d5eb39e6d1b0bf96af4be1e095b31495305 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 16 Jan 2011 18:39:41 +0100 Subject: mass changes Signed-off-by: Florian Pritz --- perl-proc-daemon/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 perl-proc-daemon/PKGBUILD (limited to 'perl-proc-daemon/PKGBUILD') diff --git a/perl-proc-daemon/PKGBUILD b/perl-proc-daemon/PKGBUILD new file mode 100644 index 0000000..790ded2 --- /dev/null +++ b/perl-proc-daemon/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor: Justin Davis +# Generator : CPANPLUS::Dist::Arch 1.10 +pkgname='perl-proc-daemon' +pkgver='0.05' +pkgrel='1' +pkgdesc="Run Perl program(s) as a daemon process" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Proc-Daemon' +source=('http://search.cpan.org/CPAN/authors/id/D/DE/DETI/Proc/Proc-Daemon-0.05.tar.gz') +md5sums=('882c741da92d370c87b3ae496905654f') + +build() { + PERL=/usr/bin/perl + DIST_DIR="${srcdir}/Proc-Daemon-0.05" + 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 "$DIST_DIR" && + $PERL Makefile.PL && + make && + make test && + make install; + } || return 1; + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} -- cgit v1.2.3-24-g4f1b