summaryrefslogtreecommitdiffstats
path: root/mlocate/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'mlocate/Pkgfile')
-rw-r--r--mlocate/Pkgfile23
1 files changed, 14 insertions, 9 deletions
diff --git a/mlocate/Pkgfile b/mlocate/Pkgfile
index 56f7f20..3484031 100644
--- a/mlocate/Pkgfile
+++ b/mlocate/Pkgfile
@@ -1,6 +1,6 @@
-description="Fast merging drop-in replacement for slocate"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Fast merging drop-in replacement for slocate."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/"
depends=()
@@ -10,10 +10,15 @@ 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
+ cd $name-$version;
+ ./configure \
+ --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
}