core/coreutils/PKGBUILD

45 lines
932 B
Bash
Raw Normal View History

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
2010-03-13 23:25:19 +08:00
pkgname=coreutils
2014-09-27 12:12:32 +08:00
pkgver=8.23
2012-11-13 12:21:19 +08:00
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
arch=('x86_64')
2010-03-13 23:25:19 +08:00
license=('GPL3')
url="http://www.gnu.org/software/coreutils"
groups=('base')
depends=('glibc' 'pam' 'acl' 'gmp' 'libcap')
2012-11-10 22:09:26 +08:00
install=${pkgname}.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
2014-09-27 12:12:32 +08:00
md5sums=('abed135279f87ad6762ce57ff6d89c41'
2014-02-26 07:30:14 +08:00
'SKIP')
2010-03-13 23:25:19 +08:00
2014-09-27 12:12:32 +08:00
#prepare() {
# cd $pkgname-$pkgver
#}
2010-03-13 23:25:19 +08:00
2014-09-27 12:12:32 +08:00
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--with-openssl \
--enable-no-install-program=groups,hostname,kill,uptime
make
}
2010-03-13 23:25:19 +08:00
check() {
2014-09-27 12:12:32 +08:00
cd $pkgname-$pkgver
make RUN_EXPENSIVE_TESTS=yes check
}
package() {
2014-09-27 12:12:32 +08:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
2010-03-13 23:25:19 +08:00
}
2014-09-27 12:12:32 +08:00
# vim:set ts=2 sw=2 et: