mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
added core/coreutils
This commit is contained in:
parent
61c0b07d95
commit
e4e47a8b0a
1 changed files with 56 additions and 0 deletions
56
core/coreutils/PKGBUILD
Normal file
56
core/coreutils/PKGBUILD
Normal file
|
@ -0,0 +1,56 @@
|
|||
# $Id$
|
||||
# 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
|
||||
|
||||
pkgname=coreutils
|
||||
pkgver=8.29
|
||||
pkgrel=1
|
||||
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/'
|
||||
groups=('base')
|
||||
depends=('glibc' 'acl' 'attr' 'gmp' 'libcap' 'openssl')
|
||||
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
|
||||
validpgpkeys=('6C37DC12121A5006BC1DB804DF6FD971306037D9') # Pádraig Brady
|
||||
md5sums=('960cfe75a42c9907c71439f8eb436303'
|
||||
'SKIP')
|
||||
|
||||
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
|
||||
#make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue