[arch-commits] Commit in mlocate/trunk (PKGBUILD updatedb.conf)

Allan McRae allan at archlinux.org
Tue Aug 17 06:18:20 UTC 2010


    Date: Tuesday, August 17, 2010 @ 02:18:20
  Author: allan
Revision: 87570

upgpkg: mlocate 0.22.4-2
add vboxsf to list of excluded filesystems as it has issues (FS#20234)

Modified:
  mlocate/trunk/PKGBUILD
  mlocate/trunk/updatedb.conf

---------------+
 PKGBUILD      |   10 +++++++---
 updatedb.conf |    2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-16 21:19:59 UTC (rev 87569)
+++ PKGBUILD	2010-08-17 06:18:20 UTC (rev 87570)
@@ -4,7 +4,7 @@
 
 pkgname=mlocate
 pkgver=0.22.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Faster merging drop-in for slocate"
 arch=('i686' 'x86_64')
 url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate"
@@ -20,7 +20,7 @@
 	updatedb.conf
 	updatedb.cron.daily)
 md5sums=('ee79241178e2660bc9edb02ffe90e144'
-         '66898efb290eff4efd44a0b94fe3927d'
+         'b1fac5fbe8ddbc77f2a917ca733e47a3'
          'cde5da81bebad2de556ef2e43d895e13')
 
 build() {
@@ -29,8 +29,12 @@
   # Build!
   sed -i '/^groupname /s/mlocate/locate/' Makefile.in
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
-  make || return 1
+  make
+}
 
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  
   # Set up a default updatedb.conf and a daily cronjob
   install -Dm644 ../updatedb.conf $pkgdir/etc/updatedb.conf
   install -Dm744 ../updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb

Modified: updatedb.conf
===================================================================
--- updatedb.conf	2010-08-16 21:19:59 UTC (rev 87569)
+++ updatedb.conf	2010-08-17 06:18:20 UTC (rev 87570)
@@ -2,4 +2,4 @@
 PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool"
 
 # filesystems to exclude from the slocate database:
-PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs"
+PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf"




More information about the arch-commits mailing list