summaryrefslogtreecommitdiffstats
path: root/mlocate/Pkgfile
blob: 56f7f20216a43de515b46f0eb8add21dc3cdd0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
description="Fast merging drop-in replacement for slocate"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/"
depends=()

name=mlocate
version=0.23.1
release=1
source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-0.23.1.tar.xz mlocate updatedb.conf)
build () 
{ 
    cd $name-$version;
    ./configure --prefix=/usr --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var/lib --disable-nls;
    make;
    make DESTDIR=$PKG install;
    install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate;
    install -m 0644 $SRC/updatedb.conf $PKG/etc
}