summaryrefslogtreecommitdiff
path: root/core/coreutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/coreutils/PKGBUILD')
-rw-r--r--core/coreutils/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD
index 18940add4..33c447cf1 100644
--- a/core/coreutils/PKGBUILD
+++ b/core/coreutils/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 146602 2012-01-14 00:30:45Z allan $
+# $Id: PKGBUILD 155401 2012-04-03 11:10:00Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=coreutils
-pkgver=8.15
-pkgrel=1
+pkgver=8.16
+pkgrel=2
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"
groups=('base')
-depends=('glibc' 'shadow' 'pam' 'acl' 'gmp' 'libcap')
+depends=('glibc' 'pam' 'acl' 'gmp' 'libcap')
replaces=('mktemp')
backup=('etc/pam.d/su')
install=${pkgname}.install
@@ -19,8 +19,8 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
coreutils-uname.patch
coreutils-pam.patch
su.pam)
-md5sums=('094909fafa86110140b32e4948941545'
- '2cdd273d93a77d03739fa81d7c2acfe5'
+md5sums=('89b06f91634208dceba7b36ad1f9e8b9'
+ '63158176d5bb005c6871242c940eedf1'
'c4fcca138b6abf6d443d48a6f0cd8833'
'aad79a2aa6d566c375d7bdd1b0767278'
'fa85e5cce5d723275b14365ba71a8aad')
@@ -55,15 +55,13 @@ package() {
install -dm755 ${pkgdir}/{bin,usr/sbin}
# binaries required by FHS
- _fhs="cat chgrp chmod chown cp date dd df echo false ln ls \
- mkdir mknod mv pwd rm rmdir stty su sync true uname"
- mv ${_fhs} ${pkgdir}/bin
-
- # binaries required by various Arch scripts
- _bin="cut dir dircolors du install mkfifo readlink shred \
- sleep touch tr vdir"
- mv ${_bin} ${pkgdir}/bin
- ln -sf /bin/sleep ${pkgdir}/usr/bin/sleep
+ _fhs=('cat' 'chgrp' 'chmod' 'chown' 'cp' 'date' 'dd' 'df' 'echo' 'false'
+ 'ln' 'ls' 'mkdir' 'mknod' 'mv' 'pwd' 'rm' 'rmdir' 'stty' 'su' 'sync'
+ 'true' 'uname')
+ mv ${_fhs[@]} ${pkgdir}/bin
+
+ # makepkg uses the full path to this...
+ ln -s /usr/bin/du ${pkgdir}/bin/du
mv chroot ${pkgdir}/usr/sbin
install -Dm644 ${srcdir}/su.pam ${pkgdir}/etc/pam.d/su