summaryrefslogtreecommitdiff
path: root/core/util-linux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/util-linux/PKGBUILD')
-rw-r--r--core/util-linux/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD
index 877e0135a..487b8eb6d 100644
--- a/core/util-linux/PKGBUILD
+++ b/core/util-linux/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 123897 2011-05-14 09:14:06Z tpowa $
-# Maintainer:
+# $Id: PKGBUILD 135595 2011-08-16 14:10:53Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=util-linux
pkgver=2.19.1
-pkgrel=2
+pkgrel=3
pkgdesc="Miscellaneous system utilities for Linux"
url="http://userweb.kernel.org/~kzak/util-linux-ng/"
arch=('i686' 'x86_64')
@@ -16,13 +16,14 @@ provides=('linux32' "util-linux-ng=${pkgver}")
license=('GPL2')
options=('!libtool')
source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.19/${pkgname}-${pkgver}.tar.bz2
- mount-segfault-2.19.1.patch)
+ mount-segfault-2.19.1.patch
+ two-component-linux.patch)
optdepends=('perl: for chkdupexe support')
-md5sums=('3eab06f05163dfa65479c44e5231932c'
- '3247b52f0e4b8044f23f2f7218e2fdea')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # add support for linux 3.0, which is needed mkswap
+ patch -Np1 -i ../two-component-linux.patch
# fix https://bugs.archlinux.org/task/24261
patch -Np1 -i ../mount-segfault-2.19.1.patch
# hardware clock
@@ -36,3 +37,6 @@ package() {
install -dm755 "${pkgdir}/var/lib/hwclock"
make DESTDIR="${pkgdir}" install
}
+md5sums=('3eab06f05163dfa65479c44e5231932c'
+ '3247b52f0e4b8044f23f2f7218e2fdea'
+ '6eb23edb484adf7192e107d1c6d94bd3')