[arch-commits] Commit in kmod/trunk (PKGBUILD)

Dave Reisner dreisner at nymeria.archlinux.org
Thu May 30 08:31:07 EDT 2013


    Date: Thursday, May 30, 2013 @ 14:31:06
  Author: dreisner
Revision: 186666

upgpkg: kmod 13-2

- move symlinks to /usr/bin

Modified:
  kmod/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 12:26:35 UTC (rev 186665)
+++ PKGBUILD	2013-05-30 12:31:06 UTC (rev 186666)
@@ -3,7 +3,7 @@
 
 pkgname=kmod
 pkgver=13
-pkgrel=1
+pkgrel=2
 pkgdesc="Linux kernel module handling"
 arch=('i686' 'x86_64')
 url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary'
@@ -11,7 +11,7 @@
 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"
@@ -38,13 +38,9 @@
   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
 



More information about the arch-commits mailing list