Commit a4379ced authored by Natanael Copa's avatar Natanael Copa

community/mlocate: modernize

parent f8f5cc64
...@@ -20,7 +20,7 @@ source="https://releases.pagure.org/mlocate/$pkgname-$pkgver.tar.xz ...@@ -20,7 +20,7 @@ source="https://releases.pagure.org/mlocate/$pkgname-$pkgver.tar.xz
updatedb.cron.daily" updatedb.cron.daily"
prepare() { prepare() {
default_prepare || return 1 default_prepare
cd "$builddir" cd "$builddir"
sed -i '/^groupname /s/mlocate/locate/' Makefile.in sed -i '/^groupname /s/mlocate/locate/' Makefile.in
...@@ -36,7 +36,7 @@ build() { ...@@ -36,7 +36,7 @@ build() {
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var/lib --localstatedir=/var/lib
make || return 1 make
} }
check() { check() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment