blob: 70c19431d03d012f2560ba3daeab9d68027746a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=8.19
pkgrel=0
pkgdesc="The basic file, shell and text manipulation utilities"
url="http://www.gnu.org/software/coreutils/"
arch="all"
license="GPL"
depends=
makedepends="bash"
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
--without-gmp \
--enable-no-install-program=arch,hostname,su,kill,uptime \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -d "$pkgdir"/bin "$pkgdir"/usr/sbin
cd "$pkgdir"/usr/bin/
# binaries that busybox puts in /bin
mv base64 cat chgrp chmod chown cp date dd df 'echo' false ln ls \
mkdir mknod mktemp mv nice printenv pwd rm rmdir sleep stat \
stty sync touch true uname \
"$pkgdir"/bin
mv chroot "$pkgdir"/usr/sbin/
}
md5sums="1a01231a2f3ed37c0efc073ccdda9375 coreutils-8.19.tar.xz"
|