# 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 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=mlocate version=0.24 release=1 source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.xz \ mlocate updatedb.conf) build() { cd $name-$version ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --disable-nls sed -i -e '29 d' -e '82 d' gnulib/lib/wchar.in.h make ARCH=arm make DESTDIR=$PKG install install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate install -m 0644 $SRC/updatedb.conf $PKG/etc }