summaryrefslogtreecommitdiff
path: root/libre/bumblebee-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-19 00:22:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-19 00:22:50 -0300
commit574851bab5a951e4e0236a138dfd4ea94971ab6e (patch)
treeb027ef4d3c82b3b982c3d6cbe295b3aaf97d46b6 /libre/bumblebee-libre
parent2ddb63005bc0b0cbfb5257397a07894032c3ad6f (diff)
bumblebee-libre-3.2.1-3: Move stuff out of sbin
Diffstat (limited to 'libre/bumblebee-libre')
-rw-r--r--libre/bumblebee-libre/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD
index a7b9ad140..3f43d26c9 100644
--- a/libre/bumblebee-libre/PKGBUILD
+++ b/libre/bumblebee-libre/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=bumblebee
pkgname=bumblebee-libre
pkgver=3.2.1
-pkgrel=1
+pkgrel=3
pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support"
arch=('i686' 'x86_64')
depends=('virtualgl' 'glib2' 'mesa-libgl')
@@ -47,6 +47,7 @@ build() {
./configure \
CONF_DRIVER=nouveau \
--prefix=/usr \
+ --sbindir=/usr/bin \
--sysconfdir=/etc \
--without-pidfile
@@ -60,6 +61,7 @@ package() {
# 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"