summaryrefslogtreecommitdiffstats
path: root/mlocate/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'mlocate/Pkgfile')
-rw-r--r--mlocate/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/mlocate/Pkgfile b/mlocate/Pkgfile
new file mode 100644
index 0000000..56f7f20
--- /dev/null
+++ b/mlocate/Pkgfile
@@ -0,0 +1,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
+}