[arch-commits] CVS update of extra/system/swatch (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Tue Jan 29 01:41:10 UTC 2008
Date: Monday, January 28, 2008 @ 20:41:10
Author: kevin
Path: /home/cvs-extra/extra/system/swatch
Modified: PKGBUILD (1.3 -> 1.4)
upgpkg: swatch 3.2.2-2
Updated for new perl policy
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Index: extra/system/swatch/PKGBUILD
diff -u extra/system/swatch/PKGBUILD:1.3 extra/system/swatch/PKGBUILD:1.4
--- extra/system/swatch/PKGBUILD:1.3 Sun Jan 27 22:50:58 2008
+++ extra/system/swatch/PKGBUILD Mon Jan 28 20:41:10 2008
@@ -1,28 +1,26 @@
-# $Id: PKGBUILD,v 1.3 2008/01/28 03:50:58 kevin Exp $
+# $Id: PKGBUILD,v 1.4 2008/01/29 01:41:10 kevin Exp $
# Maintainer: Kevin Piche <kevin at archlinux.org>
# Contributor: K. Piche <kpiche at rogers.com>
pkgname=swatch
pkgver=3.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="The active log file monitoring tool"
arch=(i686 x86_64)
license=('GPL')
url="http://swatch.sourceforge.net/"
-source=(http://dl.sourceforge.net/sourceforge/swatch/${pkgname}-${pkgver}.tar.gz)
-depends=('perl-date-calc' 'perl-date-manip' 'perl-file-tail' 'perl-timedate')
+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}
- # Force module installation to "current" perl directories.
- eval `perl -V:archname`
- /usr/bin/perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- /usr/bin/make || return 1
- /usr/bin/make install DESTDIR=${startdir}/pkg
+ 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
More information about the arch-commits
mailing list