summaryrefslogtreecommitdiffstats
path: root/main/elinks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/elinks/APKBUILD')
-rw-r--r--main/elinks/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/elinks/APKBUILD b/main/elinks/APKBUILD
index ddb3fbd85..465162c17 100644
--- a/main/elinks/APKBUILD
+++ b/main/elinks/APKBUILD
@@ -17,6 +17,7 @@ source="http://elinks.or.cz/download/elinks-$_ver.tar.bz2"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
@@ -35,8 +36,9 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
-
+ make DESTDIR="$pkgdir" install || return 1
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
#fix conflict with gettext
rm "$pkgdir"/usr/share/locale/locale.alias
}