summaryrefslogtreecommitdiff
path: root/core/kmod/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/kmod/PKGBUILD')
-rw-r--r--core/kmod/PKGBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD
index 94ac5ec54..c61218817 100644
--- a/core/kmod/PKGBUILD
+++ b/core/kmod/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 182754 2013-04-14 16:44:17Z dreisner $
+# $Id: PKGBUILD 187032 2013-06-03 11:15:16Z allan $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=kmod
pkgver=13
-pkgrel=1
+pkgrel=2
pkgdesc="Linux kernel module handling"
arch=('i686' 'x86_64' 'mips64el')
url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary'
@@ -11,7 +11,7 @@ license=('GPL2')
depends=('glibc' 'zlib')
makedepends=('gtk-doc')
options=('!libtool')
-provides=('module-init-tools=3.16')
+provides=('module-init-tools=3.16' 'libkmod.so')
conflicts=('module-init-tools')
replaces=('module-init-tools')
source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz"
@@ -39,13 +39,9 @@ package() {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
# extra directories
- install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d "$pkgdir/sbin"
+ install -dm755 "$pkgdir"/{etc,usr/lib}/{depmod,modprobe}.d
- # add symlinks to kmod
- ln -s ../usr/bin/kmod "$pkgdir/sbin/modprobe"
- ln -s ../usr/bin/kmod "$pkgdir/sbin/depmod"
-
- for tool in {ins,ls,rm}mod modinfo; do
+ for tool in {ins,ls,rm,dep}mod mod{probe,info}; do
ln -s kmod "$pkgdir/usr/bin/$tool"
done