mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-29 14:02:14 +08:00
31 lines
853 B
Bash
31 lines
853 B
Bash
# $Id: PKGBUILD 72380 2010-03-15 10:32:04Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
pkgname=tar
|
|
pkgver=1.23
|
|
pkgrel=1
|
|
pkgdesc="Utility used to store, backup, and transport files"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gnu.org/software/tar/tar.html"
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc' 'sh')
|
|
options=('!emptydirs')
|
|
install=tar.install
|
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 tar.1)
|
|
md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
|
|
'e0538778516a284e3558c454b2576c2f')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
make DESTDIR=${pkgdir} install
|
|
install -D -m644 ../tar.1 ${pkgdir}/usr/share/man/man1/tar.1
|
|
}
|