summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mlocate/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/mlocate/PKGBUILD
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/mlocate/PKGBUILD')
-rw-r--r--abs/core-testing/mlocate/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/abs/core-testing/mlocate/PKGBUILD b/abs/core-testing/mlocate/PKGBUILD
deleted file mode 100644
index 50db92b..0000000
--- a/abs/core-testing/mlocate/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 1939 2008-05-24 00:35:29Z james $
-# Maintainer: James Rayner <iphitus@gmail.com>
-# Contributor: lydgate
-
-pkgname=mlocate
-pkgver=0.20
-pkgrel=11
-pkgdesc="Faster merging drop-in for slocate"
-arch=(i686 x86_64)
-url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate"
-license=("GPL")
-groups=("base")
-conflicts=('slocate')
-provides=('slocate')
-replaces=('slocate')
-depends=('glibc')
-backup=('etc/updatedb.conf')
-install=mlocate.install
-source=("https://fedorahosted.org/mlocate/attachment/wiki/MlocateDownloads/mlocate-$pkgver.tar.bz2?format=raw" \
- updatedb.conf updatedb.cron.daily)
-build() {
- cd "$startdir"/src/$pkgname-$pkgver
-
- # Build!
- sed -i '/^groupname /s/mlocate/locate/' Makefile.in
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
- make || return 1
-
- # Set up a default updatedb.conf and a daily cronjob
- install -v -D -m644 ../updatedb.conf "$startdir"/pkg/etc/updatedb.conf
- install -v -D -m744 ../updatedb.cron.daily "$startdir"/pkg/etc/cron.daily/updatedb
-
- # Install Mlocate
- make DESTDIR="$startdir"/pkg install
-
- cd "$startdir"/pkg
- ln -sv locate usr/bin/slocate
- chgrp -v 21 usr/bin/locate
- chmod -v 2755 usr/bin/locate
-
- mkdir -pv var/lib
- install -d -m750 -g21 var/lib/locate
-}
-
-md5sums=('ad5e4eb1f2aecf1a5af9fe36c6e297f4'
- '08f642828fe8a6a0c8e5059133c9a9e2'
- 'eee7f9db8c6145724313af6fd5fe9d66')