diff options
Diffstat (limited to 'main/tar/APKBUILD')
-rw-r--r-- | main/tar/APKBUILD | 23 |
1 files changed, 14 insertions, 9 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" |