aboutsummaryrefslogblamecommitdiffstats
path: root/main/tar/APKBUILD
blob: df3e7b77a427afd984c5138f38d8ede417fb75f9 (plain) (tree)
1
2
3
4
5
6
7
8

                                                       
           
        

                                                            
          
             



                                                          





                                     
                                       
                        



                                     
                                       


                                               

 
                                                           
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=tar
pkgver=1.25
pkgrel=0
pkgdesc="Utility used to store, backup, and transport files"
url="http://www.gnu.org"
arch="all"
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="0e48e9e473a72f135d0ebbc8af2762cc  tar-1.25.tar.gz"