summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 13:49:30 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 13:49:50 +0000
commit2def78e08b7794dea10f8fdbbcaea2a71da7f45c (patch)
tree23ea6bb2da28f26277488b397ab806e7b181fdd7 /main
parent1d147a1722e89b7174a9ff37e81ca619a87f31b4 (diff)
downloadaports-2def78e08b7794dea10f8fdbbcaea2a71da7f45c.tar.bz2
aports-2def78e08b7794dea10f8fdbbcaea2a71da7f45c.tar.xz
main/diffutils: remove charset.alias if exists (unwanted)
Diffstat (limited to 'main')
-rw-r--r--main/diffutils/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD
index 218fed5e9..1a312cd0c 100644
--- a/main/diffutils/APKBUILD
+++ b/main/diffutils/APKBUILD
@@ -43,6 +43,10 @@ build() {
package() {
cd "$_builddir"
make install DESTDIR=$pkgdir
+
+ rm -rf "$pkgdir"/usr/lib/charset.alias
+ rmdir -p "$pkgdir"/usr/lib 2>/dev/null
+ return 0
}
md5sums="99180208ec2a82ce71f55b0d7389f1b3 diffutils-3.3.tar.xz"