diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 19:38:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 19:38:54 +0000 |
commit | 9dbbf848c9d2c7bb34f207730634c930630f50e6 (patch) | |
tree | fca1153e872520b7b08f336331cdbeab8d54f10f /main | |
parent | 49b4c1dfaf90f1435fe46e47ded7ca768d0be291 (diff) | |
download | aports-9dbbf848c9d2c7bb34f207730634c930630f50e6.tar.bz2 aports-9dbbf848c9d2c7bb34f207730634c930630f50e6.tar.xz |
main/tar: make sure busybox tar is overwritten
move /usr/bin/tar to /bin/tar
removed the post-deinstall as the busybox trigger handles that
Diffstat (limited to 'main')
-rw-r--r-- | main/tar/APKBUILD | 23 | ||||
-rw-r--r-- | main/tar/tar.post-deinstall | 3 |
2 files changed, 14 insertions, 12 deletions
diff --git a/main/tar/APKBUILD b/main/tar/APKBUILD index 7e713be6c9..c0eb04a1ed 100644 --- a/main/tar/APKBUILD +++ b/main/tar/APKBUILD @@ -1,25 +1,30 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=tar pkgver=1.22 -pkgrel=0 +pkgrel=1 pkgdesc="Utility used to store, backup, and transport files" url="http://www.gnu.org" license='GPL' -depends="uclibc" -install="$pkgname.post-deinstall" -makedepends="" -source="ftp://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.gz -$pkgname.post-deinstall" +depends= +install= +makedepends= +source="ftp://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ - --mandir=/usr/share/man + --mandir=/usr/share/man make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install + mkdir "$pkgdir"/bin + mv "$pkgdir"/usr/bin/tar "$pkgdir"/bin/ + ln -s /bin/tar "$pkgdir"/usr/bin/tar } -md5sums="efafad1b256e3de410f4fce5335d9c9d tar-1.22.tar.gz -b84506d253e04db3c5af9016fead45a3 tar.post-deinstall" +md5sums="efafad1b256e3de410f4fce5335d9c9d tar-1.22.tar.gz" diff --git a/main/tar/tar.post-deinstall b/main/tar/tar.post-deinstall deleted file mode 100644 index 99b57c4635..0000000000 --- a/main/tar/tar.post-deinstall +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -busybox --install -s |