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

Tobias Powalowski tpowa at archlinux.org
Fri Jul 22 15:19:37 UTC 2011


    Date: Friday, July 22, 2011 @ 11:19:36
  Author: tpowa
Revision: 132297

add replaces for docs and headers

Modified:
  linux/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-22 14:59:01 UTC (rev 132296)
+++ PKGBUILD	2011-07-22 15:19:36 UTC (rev 132297)
@@ -109,6 +109,7 @@
 
 package_linux-headers() {
   pkgdesc="Header files and scripts for building modules for linux kernel"
+  replaces=('kernel26-headers')
   mkdir -p ${pkgdir}/lib/modules/${_kernver}
   cd ${pkgdir}/lib/modules/${_kernver}
   ln -sf ../../../usr/src/linux-${_kernver} build
@@ -217,13 +218,13 @@
 }
 
 package_linux-docs() {
-pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
-
-cd ${srcdir}/linux-$_basekernel
-mkdir -p $pkgdir/usr/src/linux-$_kernver
-mv Documentation $pkgdir/usr/src/linux-$_kernver
-find $pkgdir -type f -exec chmod 444 {} \;
-find $pkgdir -type d -exec chmod 755 {} \;
-# remove a file already in linux package
-rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
+  pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
+  replaces=('kernel26-doccs')
+  cd ${srcdir}/linux-$_basekernel
+  mkdir -p $pkgdir/usr/src/linux-$_kernver
+  mv Documentation $pkgdir/usr/src/linux-$_kernver
+  find $pkgdir -type f -exec chmod 444 {} \;
+  find $pkgdir -type d -exec chmod 755 {} \;
+  # remove a file already in linux package
+  rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
 }




More information about the arch-commits mailing list