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

Sébastien Luttringer seblu at nymeria.archlinux.org
Sun May 12 20:21:48 EDT 2013


    Date: Monday, May 13, 2013 @ 02:21:47
  Author: seblu
Revision: 90527

upgpkg: makedev 3.23_1-2

https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/

Modified:
  makedev/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 00:18:50 UTC (rev 90526)
+++ PKGBUILD	2013-05-13 00:21:47 UTC (rev 90527)
@@ -5,7 +5,7 @@
 
 pkgname=makedev
 pkgver=3.23_1
-pkgrel=1
+pkgrel=2
 pkgdesc='The ubiquitous script to create static device nodes'
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -20,7 +20,9 @@
 
 package() {
   cd ${pkgname^^*}-${pkgver/_*}
-  make DESTDIR="${pkgdir}" devdir=/usr/sbin makedevdir=/usr/sbin install
+  # We make devdir == makedevdir to avoid install script to symlink into /dev
+  # As previous make doesn't have a bad devdir, everything goes well
+  make DESTDIR="$pkgdir" devdir=/usr/bin makedevdir=/usr/bin sbindir=/usr/bin install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list