summaryrefslogtreecommitdiff
path: root/core/util-linux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-07 00:01:17 +0000
committerroot <root@rshg054.dnsready.net>2012-04-07 00:01:17 +0000
commit3d65494a8eda056377febda4642ce992e69a9371 (patch)
treedae57e04ca5f7d7490acbde87206eaa62695109d /core/util-linux
parentd9c1fc1bcca8fd5cd3566fc6b183fe23065778bc (diff)
Sat Apr 7 00:01:16 UTC 2012
Diffstat (limited to 'core/util-linux')
-rw-r--r--core/util-linux/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD
index 69bc92981..6760067ad 100644
--- a/core/util-linux/PKGBUILD
+++ b/core/util-linux/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 153637 2012-03-16 22:34:40Z tomegun $
+# $Id: PKGBUILD 155728 2012-04-06 00:04:01Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=util-linux
-pkgver=2.21
-pkgrel=6
+pkgver=2.21.1
+pkgrel=2
pkgdesc="Miscellaneous system utilities for Linux"
url="http://www.kernel.org/pub/linux/utils/util-linux/"
arch=('i686' 'x86_64')
@@ -14,8 +14,7 @@ conflicts=('util-linux-ng')
provides=("util-linux-ng=${pkgver}")
license=('GPL2')
options=('!libtool')
-source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.xz
- stable-fixes-2.21.patch)
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.21/${pkgname}-${pkgver}.tar.xz)
optdepends=('perl: for chkdupexe support')
build() {
@@ -24,10 +23,9 @@ build() {
# hardware clock
sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
- patch -p1 -i ../stable-fixes-2.21.patch
-
./configure --prefix=/usr \
--libdir=/usr/lib \
+ --enable-fs-paths-extra=/usr/bin:/usr/sbin \
--enable-write \
--enable-raw \
--disable-wall \
@@ -36,6 +34,10 @@ build() {
make
}
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -48,5 +50,4 @@ package() {
# delete stray empty dir, fixed upstream
rm -r usr/share/man/ru
}
-md5sums=('208aa058f4117759d2939d1be7d662fc'
- '415b850a4efa9174cd9c34022949f177')
+md5sums=('ad602dcd528f340b1329cfa6200d8f80')