diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-19 09:53:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-19 09:53:22 +0000 |
commit | a4379ced2aa0b667c34691f744be29295e29030b (patch) | |
tree | 244bcfd330dc54d678712a95bac3e2537ea45bae | |
parent | f8f5cc6451fa9296f340a1b1888f051180a074b7 (diff) | |
download | alpine_aports-a4379ced2aa0b667c34691f744be29295e29030b.tar.bz2 alpine_aports-a4379ced2aa0b667c34691f744be29295e29030b.tar.xz alpine_aports-a4379ced2aa0b667c34691f744be29295e29030b.zip |
community/mlocate: modernize
-rw-r--r-- | community/mlocate/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/mlocate/APKBUILD b/community/mlocate/APKBUILD index 228d82d3bc..bc4d0e39d6 100644 --- a/community/mlocate/APKBUILD +++ b/community/mlocate/APKBUILD | |||
@@ -20,7 +20,7 @@ source="https://releases.pagure.org/mlocate/$pkgname-$pkgver.tar.xz | |||
20 | updatedb.cron.daily" | 20 | updatedb.cron.daily" |
21 | 21 | ||
22 | prepare() { | 22 | prepare() { |
23 | default_prepare || return 1 | 23 | default_prepare |
24 | 24 | ||
25 | cd "$builddir" | 25 | cd "$builddir" |
26 | sed -i '/^groupname /s/mlocate/locate/' Makefile.in | 26 | sed -i '/^groupname /s/mlocate/locate/' Makefile.in |
@@ -36,7 +36,7 @@ build() { | |||
36 | --prefix=/usr \ | 36 | --prefix=/usr \ |
37 | --sysconfdir=/etc \ | 37 | --sysconfdir=/etc \ |
38 | --localstatedir=/var/lib | 38 | --localstatedir=/var/lib |
39 | make || return 1 | 39 | make |
40 | } | 40 | } |
41 | 41 | ||
42 | check() { | 42 | check() { |