description="Fast merging drop-in replacement for slocate." packager="CRUX System Team " maintainer="Lukc " 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/$name/$name-$version.tar.xz mlocate updatedb.conf) build () { cd $name-$version; ./configure \ ${CHOST:+--build=${CHOST}} \ ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --mandir=$mandir \ --sysconfdir=$sysconfdir \ --localstatedir=/var/lib \ $(use_enable 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 }