[arch-commits] CVS update of extra/system/swatch (PKGBUILD)

Eric Belanger eric at archlinux.org
Tue Jan 29 03:06:41 UTC 2008


    Date: Monday, January 28, 2008 @ 22:06:41
  Author: eric
    Path: /home/cvs-extra/extra/system/swatch

Modified: PKGBUILD (1.5 -> 1.6)

upgpkg: swatch 3.2.2-2
build package for x86_64 testing


----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)


Index: extra/system/swatch/PKGBUILD
diff -u extra/system/swatch/PKGBUILD:1.5 extra/system/swatch/PKGBUILD:1.6
--- extra/system/swatch/PKGBUILD:1.5	Mon Jan 28 22:04:58 2008
+++ extra/system/swatch/PKGBUILD	Mon Jan 28 22:06:41 2008
@@ -1,29 +1,26 @@
-# $Id: PKGBUILD,v 1.5 2008/01/29 03:04:58 eric Exp $
+# $Id: PKGBUILD,v 1.6 2008/01/29 03:06:41 eric 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)
-md5sums=('b7d360b01da8168b4b7d4cf45c263f55')
-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