diff options
Diffstat (limited to 'abs/core/module-init-tools/PKGBUILD')
-rw-r--r-- | abs/core/module-init-tools/PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/abs/core/module-init-tools/PKGBUILD b/abs/core/module-init-tools/PKGBUILD index 10ff2b0..e65f419 100644 --- a/abs/core/module-init-tools/PKGBUILD +++ b/abs/core/module-init-tools/PKGBUILD @@ -1,29 +1,31 @@ -# $Id: PKGBUILD 85722 2010-07-18 10:36:50Z allan $ +# $Id: PKGBUILD 128937 2011-06-25 14:35:00Z dreisner $ # Maintainer: Aaron Griffin <aaron@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=module-init-tools -pkgver=3.12 -pkgrel=3 +pkgver=3.16 +pkgrel=1 pkgdesc="utilities needed by Linux systems for managing loadable kernel modules" arch=('i686' 'x86_64') url="http://kerneltools.org" license=('GPL') depends=('glibc') -install=module-init-tools.install +makedepends=('docbook2x') backup=('etc/modprobe.d/modprobe.conf') source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2 - modprobe.conf) -md5sums=('8b2257ce9abef74c4a44d825d23140f3' - '316f1bda4c21af02b30252eb014a0a55') + modprobe.conf + docfix.patch) +md5sums=('bc44832c6e41707b8447e2847d2019f5' + '316f1bda4c21af02b30252eb014a0a55' + '4320d19902ded43bed55c804b065cdc7') build() { cd $srcdir/$pkgname-$pkgver - - # do not regenerate man pages - touch *.{5,8} - - ./configure --prefix=/usr --exec-prefix=/ + + # fix headers in SGML manpage sources and an XML typo + patch -Np0 < "$srcdir/docfix.patch" + + ./configure --prefix=/usr --exec-prefix=/ --enable-zlib make } @@ -31,10 +33,7 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install - + # Install our custom (read: empty) modprobe.conf install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf - - # fix man page (FS#17559) - sed -i "s#mod#man5/mod#" $pkgdir/usr/share/man/man5/modprobe.d.5 } |