summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-proc-daemon/PKGBUILD
blob: f5df5669026708ce8ecd8dfe317765c765fdfec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}