diff options
Diffstat (limited to 'core/coreutils/PKGBUILD')
-rw-r--r-- | core/coreutils/PKGBUILD | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD index 018624ada..a367cabdc 100644 --- a/core/coreutils/PKGBUILD +++ b/core/coreutils/PKGBUILD @@ -1,34 +1,43 @@ -# $Id: PKGBUILD 201684 2013-12-18 05:22:31Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id: PKGBUILD 207977 2014-03-16 10:09:10Z bpiotrowski $ +# Maintainer: Sébastien "Seblu" Luttringer +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=coreutils pkgver=8.22 -pkgrel=2 -pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system" +pkgrel=3 +pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' arch=('i686' 'x86_64') license=('GPL3') -url="http://www.gnu.org/software/coreutils" +url='http://www.gnu.org/software/coreutils' groups=('base') depends=('glibc' 'pam' 'acl' 'gmp' 'libcap' 'openssl') -install=${pkgname}.install -source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) +install=$pkgname.install +source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig} + coreutils-8.22-shuf-segfault.patch) md5sums=('8fb0ae2267aa6e728958adc38f8163a2' - 'SKIP') + 'SKIP' + '94f7e6f373f37beb236caabed8fcdb52') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../coreutils-8.22-shuf-segfault.patch +} build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd $pkgname-$pkgver ./configure --prefix=/usr --libexecdir=/usr/lib --with-openssl \ - --enable-no-install-program=groups,hostname,kill,uptime + --enable-no-install-program=groups,hostname,kill,uptime make } check() { - cd ${srcdir}/${pkgname}-${pkgver} + cd $pkgname-$pkgver make RUN_EXPENSIVE_TESTS=yes check } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } |