# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Kevin Piche # Contributor: K. Piche pkgname=swatch pkgver=3.2.2 pkgrel=2 pkgdesc="The active log file monitoring tool" arch=(i686 x86_64) license=('GPL') url="http://swatch.sourceforge.net/" depends=('perl-date-calc' 'perl-date-manip' 'perl-file-tail' 'perl-timedate' 'perl>=5.10.0') source=(http://dl.sourceforge.net/sourceforge/swatch/$pkgname-$pkgver.tar.gz) options=(!emptydirs) md5sums=('b7d360b01da8168b4b7d4cf45c263f55') build() { cd $startdir/src/$pkgname-$pkgver # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=$startdir/pkg # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete }