diff options
author | root <root@rshg054.dnsready.net> | 2012-06-30 00:01:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-30 00:01:49 +0000 |
commit | ff31f6558b911e924318b059516075f6413c5d8b (patch) | |
tree | c60e837c5e5c8e10b9f367152621091c714e4ea7 /core/mlocate/PKGBUILD | |
parent | a9811800fb65ca331655a1bbe22e67e7564099f8 (diff) |
Sat Jun 30 00:01:49 UTC 2012
Diffstat (limited to 'core/mlocate/PKGBUILD')
-rw-r--r-- | core/mlocate/PKGBUILD | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/core/mlocate/PKGBUILD b/core/mlocate/PKGBUILD index c0cc40796..1e863a55a 100644 --- a/core/mlocate/PKGBUILD +++ b/core/mlocate/PKGBUILD @@ -1,26 +1,22 @@ -# $Id: PKGBUILD 152305 2012-03-06 15:10:37Z allan $ +# $Id: PKGBUILD 162719 2012-06-29 02:14:10Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: lydgate pkgname=mlocate pkgver=0.25 -pkgrel=1 +pkgrel=2 pkgdesc="Faster merging drop-in for slocate" arch=('i686' 'x86_64') url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate" license=('GPL') -conflicts=('slocate') -provides=('slocate') -replaces=('slocate') depends=('glibc' 'coreutils' 'sh') backup=('etc/updatedb.conf' 'etc/cron.daily/updatedb') -install=mlocate.install source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz updatedb.conf updatedb.cron.daily) md5sums=('c6d043b170613b0e327a815b497f680a' - 'c374ff223f2e07b5e602ba22359f2335' + 'b56d81de17fe29b01b4b28861acb8fd4' 'cde5da81bebad2de556ef2e43d895e13') build() { @@ -39,18 +35,17 @@ check() { package() { cd $srcdir/$pkgname-$pkgver - - # Set up a default updatedb.conf and a daily cronjob - install -Dm644 ${srcdir}/updatedb.conf $pkgdir/etc/updatedb.conf - install -Dm744 ${srcdir}/updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb - # Install Mlocate make DESTDIR=$pkgdir install - ln -sv locate $pkgdir/usr/bin/slocate - chgrp -v 21 $pkgdir/usr/bin/locate - chmod -v 2755 $pkgdir/usr/bin/locate + ln -s locate $pkgdir/usr/bin/slocate + chgrp 21 $pkgdir/usr/bin/locate + chmod 2755 $pkgdir/usr/bin/locate install -dm755 $pkgdir/var/lib - install -d -m750 -g21 $pkgdir/var/lib/locate + install -dm750 -g21 $pkgdir/var/lib/locate + + # Set up a default updatedb.conf and a daily cronjob + install -Dm644 ${srcdir}/updatedb.conf $pkgdir/etc/updatedb.conf + install -Dm744 ${srcdir}/updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb } |