diff options
Diffstat (limited to 'abs/core-testing/perl_modules')
-rw-r--r-- | abs/core-testing/perl_modules/perl-proc-daemon/PKGBUILD | 23 | ||||
-rw-r--r-- | abs/core-testing/perl_modules/perl-proc-pid-file/PKGBUILD | 25 |
2 files changed, 48 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-proc-daemon/PKGBUILD b/abs/core-testing/perl_modules/perl-proc-daemon/PKGBUILD new file mode 100644 index 0000000..f5df566 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-proc-daemon/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: xduugu + +pkgname=perl-proc-daemon +pkgver=0.03 +pkgrel=1 +pkgdesc="run Perl program as a daemon process" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~EHOOD/Proc-Daemon" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/E/EH/EHOOD/Proc-Daemon-$pkgver.tar.gz) +md5sums=('6e1b83ac0f0add22f63597733f38c973') +sha1sums=('25df5ee454527772ff95bc44980101a6766edb8a') + +build() { + cd "$srcdir/Proc-Daemon-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR="$pkgdir/" || return 1 + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} diff --git a/abs/core-testing/perl_modules/perl-proc-pid-file/PKGBUILD b/abs/core-testing/perl_modules/perl-proc-pid-file/PKGBUILD new file mode 100644 index 0000000..ad69d71 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-proc-pid-file/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Cecil H. Watson <knoppmyth@gmail.com> + +pkgname=perl-proc-pid-file +_realname=Proc-PID-File +pkgver=1.24 +pkgrel=1 +pkgdesc="Proc::PID::File a module to manage process idfiles" +arch=(i686 x86_64) +license=('PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perlxml' 'perl>=5.10.0') +options=('!emptydirs') +source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/E/EC/ECALDER/${_realname}-${pkgver}.tar.gz) +md5sums=('90b636492ae72def975a9ef9cac90fda') + +build() { + cd ${startdir}/src/${_realname}-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR=${startdir}/pkg install || return 1 + + find ${startdir}/pkg -name '.packlist' -delete + find ${startdir}/pkg -name 'perllocal.pod' -delete +} |