aboutsummaryrefslogtreecommitdiffstats
path: root/main/wget
diff options
context:
space:
mode:
Diffstat (limited to 'main/wget')
-rw-r--r--main/wget/APKBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index 204536e70..1c239821e 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -14,6 +14,11 @@ install="wget.post-deinstall"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
@@ -32,6 +37,10 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="12edc291dba8127f2e9696e69f36299e wget-1.14.tar.gz"