summaryrefslogtreecommitdiff
path: root/libre/bumblebee-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bumblebee-libre/PKGBUILD')
-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"