summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-20 21:54:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-20 21:54:40 +0000
commitac6eb553e9ce3abb203e991c622d82df69133fbf (patch)
tree1189a7d2863cd9641cf0fd8fcb6304a1d8d1e1cc /extra
parent342a5e65c3ebe6bce363d9b887e62f1c75fa3b51 (diff)
downloadaports-ac6eb553e9ce3abb203e991c622d82df69133fbf.tar.bz2
aports-ac6eb553e9ce3abb203e991c622d82df69133fbf.tar.xz
extra/wget: restore busybox links on deinstall
Diffstat (limited to 'extra')
-rw-r--r--extra/wget/APKBUILD9
-rw-r--r--extra/wget/wget.post-deinstall3
2 files changed, 9 insertions, 3 deletions
diff --git a/extra/wget/APKBUILD b/extra/wget/APKBUILD
index 93e4c3375..b6581fa48 100644
--- a/extra/wget/APKBUILD
+++ b/extra/wget/APKBUILD
@@ -2,14 +2,16 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=wget
pkgver=1.11.4
-pkgrel=0
+pkgrel=1
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
license="GPL3"
depends="openssl"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
-source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+install="wget.post-deinstall"
+source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+ $install"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -23,4 +25,5 @@ build() {
make DESTDIR="$pkgdir" install
}
-md5sums="69e8a7296c0e12c53bd9ffd786462e87 wget-1.11.4.tar.gz"
+md5sums="69e8a7296c0e12c53bd9ffd786462e87 wget-1.11.4.tar.gz
+b84506d253e04db3c5af9016fead45a3 wget.post-deinstall"
diff --git a/extra/wget/wget.post-deinstall b/extra/wget/wget.post-deinstall
new file mode 100644
index 000000000..99b57c463
--- /dev/null
+++ b/extra/wget/wget.post-deinstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+busybox --install -s