aboutsummaryrefslogtreecommitdiffstats
path: root/main/tar/APKBUILD
blob: 34120b91b73d3de81e61f2330529b0602260d8c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=tar
pkgver=1.24
pkgrel=0
pkgdesc="Utility used to store, backup, and transport files"
url="http://www.gnu.org"
license='GPL'
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
	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="6f84e44a332449844995874cf5245094  tar-1.24.tar.gz"