Date: Friday, May 17, 2013 @ 01:59:09
  Author: svenstaro
Revision: 90986

upgpkg: bumblebee 3.2.1-3

Move stuff out of sbin

Modified:
  bumblebee/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-05-16 23:52:19 UTC (rev 90985)
+++ PKGBUILD    2013-05-16 23:59:09 UTC (rev 90986)
@@ -2,7 +2,7 @@
 
 pkgname=bumblebee
 pkgver=3.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="NVIDIA Optimus support for Linux through VirtualGL"
 arch=('i686' 'x86_64')
 depends=('virtualgl' 'glib2' 'mesa-libgl')
@@ -35,6 +35,7 @@
         CONF_LDPATH_NVIDIA=/usr/lib/nvidia:/usr/lib32/nvidia \
         CONF_MODPATH_NVIDIA=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules \
         --prefix=/usr \
+        --sbindir=/usr/bin \
         --with-udev-rules=/usr/lib/udev/rules.d/ \
         --sysconfdir=/etc \
         --without-pidfile
@@ -53,6 +54,7 @@
 
     # Install systemd unit
     install -D -m644 "scripts/systemd/bumblebeed.service" 
"${pkgdir}/usr/lib/systemd/system/bumblebeed.service"    
+    sed -i "s/sbin/bin/" "${pkgdir}/usr/lib/systemd/system/bumblebeed.service"
 
     # Make bash_completion work
     mv -v "${pkgdir}/etc/bash_completion.d/bumblebee" 
"${pkgdir}/etc/bash_completion.d/optirun"

Reply via email to