aboutsummaryrefslogtreecommitdiffstats
path: root/main/grep
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-29 01:35:27 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-12-01 08:57:40 +0100
commit011d49fc2e6284bbcaa6bd4706f13d38bbe5689b (patch)
tree50ac3da65380cde8e22f7202e2d1b31b1139733a /main/grep
parent2ac6900a1afffcd7549bd34cc1647625bdab1a27 (diff)
downloadaports-011d49fc2e6284bbcaa6bd4706f13d38bbe5689b.tar.bz2
aports-011d49fc2e6284bbcaa6bd4706f13d38bbe5689b.tar.xz
main/grep: modernize APKBUILD
Diffstat (limited to 'main/grep')
-rw-r--r--main/grep/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index c812466bfb..992ff13865 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -21,14 +21,14 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls \
- || return 1
- make || return 1
+ --disable-nls
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
+
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
}