2018-08-19 21:42:25 +00:00
|
|
|
# Maintainer: Sébastien "Seblu" Luttringer
|
|
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
|
|
|
|
|
|
# no changes, hold for builder updates
|
2020-04-02 02:43:18 +00:00
|
|
|
# - upstream patch, remove when bumped
|
2018-08-19 21:42:25 +00:00
|
|
|
|
|
|
|
pkgname=coreutils
|
2020-04-01 23:42:32 +00:00
|
|
|
pkgver=8.32
|
|
|
|
pkgrel=1
|
2018-08-19 21:42:25 +00:00
|
|
|
pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system'
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL3')
|
|
|
|
url='https://www.gnu.org/software/coreutils/'
|
|
|
|
depends=('glibc' 'acl' 'attr' 'gmp' 'libcap' 'openssl')
|
2020-04-02 02:43:18 +00:00
|
|
|
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
|
|
|
|
https://github.com/coreutils/coreutils/commit/10fcb97bd728f09d4a027eddf8ad2900f0819b0a.patch)
|
2018-08-19 21:42:25 +00:00
|
|
|
validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady
|
2020-04-01 23:42:32 +00:00
|
|
|
sha256sums=('4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa'
|
2020-04-02 02:43:18 +00:00
|
|
|
'SKIP'
|
|
|
|
'ee8ddb4e04d89089ba6022dcc736e145cf3149f8c317d3ea114485605060fe83')
|
2018-08-19 21:42:25 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
# apply patch from the source array (should be a pacman feature)
|
|
|
|
local filename
|
|
|
|
for filename in "${source[@]}"; do
|
|
|
|
if [[ "$filename" =~ \.patch$ ]]; then
|
|
|
|
msg2 "Applying patch ${filename##*/}"
|
|
|
|
patch -p1 -N -i "$srcdir/${filename##*/}"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--with-openssl \
|
|
|
|
--enable-no-install-program=groups,hostname,kill,uptime
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
2020-04-01 23:42:32 +00:00
|
|
|
make check
|
2018-08-19 21:42:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|