summaryrefslogtreecommitdiffstats
path: root/mlocate/Pkgfile.old
blob: 2e00076f3fdc17984755842f9518112f9ff1d342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Fast merging drop-in replacement for slocate
# URL:         http://carolina.mff.cuni.cz/~trmac/blog/mlocate/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=mlocate
version=0.23.1
release=1
source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.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
}