diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-19 12:40:04 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-19 12:40:04 +0200 |
commit | d186e96728bff4cc4873c59d48d01fe6eefe6131 (patch) | |
tree | 1eefcef8058414b07b2750f52d9746f5323472ff /core/tar | |
parent | 84c217e2d9acc64713978324761816e2468b5292 (diff) | |
parent | 1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/collectd/PKGBUILD
community/drivel/PKGBUILD
community/fcitx-mozc/PKGBUILD
community/gnomesu/PKGBUILD
community/gnuchess/PKGBUILD
community/gphpedit/PKGBUILD
community/gsql/PKGBUILD
community/libmatchbox/PKGBUILD
community/lockfile-progs/PKGBUILD
community/opencc/PKGBUILD
community/roxterm/PKGBUILD
community/uriparser/PKGBUILD
community/xcircuit/PKGBUILD
core/bison/PKGBUILD
core/curl/PKGBUILD
core/expat/PKGBUILD
core/gcc/PKGBUILD
core/gpm/PKGBUILD
core/m4/PKGBUILD
core/systemd/PKGBUILD
core/tar/PKGBUILD
extra/alsa-lib/PKGBUILD
extra/alsa-utils/PKGBUILD
extra/bitlbee/PKGBUILD
extra/chkrootkit/PKGBUILD
extra/fakechroot/PKGBUILD
extra/farstream/PKGBUILD
extra/freeglut/PKGBUILD
extra/gob2/PKGBUILD
extra/libcdio-paranoia/PKGBUILD
extra/liblqr/PKGBUILD
extra/libnl1/PKGBUILD
extra/libpst/PKGBUILD
extra/libwpd/PKGBUILD
extra/xorg-server/PKGBUILD
Diffstat (limited to 'core/tar')
-rw-r--r-- | core/tar/PKGBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/core/tar/PKGBUILD b/core/tar/PKGBUILD index 17ae0414c..240c5e292 100644 --- a/core/tar/PKGBUILD +++ b/core/tar/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 142080 2011-11-04 23:36:17Z allan $ +# $Id: PKGBUILD 183049 2013-04-17 02:02:04Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=tar pkgver=1.26 -pkgrel=2.1 +pkgrel=3 pkgdesc="Utility used to store, backup, and transport files" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/tar/tar.html" @@ -21,11 +21,16 @@ md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1' 'e97e7343f4e23724b4c48bca2f033e38' '4408365a66887d65f4c8d1f416fb9d9f') -build() { +prepare() { cd ${srcdir}/$pkgname-$pkgver - patch -p1 -i "$srcdir/gnulib-no-gets.patch" - ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin + # fix build failure with glibc-2.16 + sed -i -e '/gets is a/d' gnu/stdio.in.h +} + +build() { + cd ${srcdir}/$pkgname-$pkgver + ./configure --prefix=/usr --libexecdir=/usr/lib/tar make } @@ -37,5 +42,10 @@ check() { package() { cd ${srcdir}/$pkgname-$pkgver make DESTDIR=${pkgdir} install + + # probably needed for compatibility + install -dm755 ${pkgdir}/bin + ln -s ../usr/bin/tar ${pkgdir}/bin/tar + install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1 } |