summaryrefslogtreecommitdiff
path: root/libre/bumblebee-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-07-12 22:53:11 -0300
commite14736ca7ac051726b587d8fdb8368be502a9109 (patch)
tree6a40b3b2de9bf45e8f31ba5fd45ee8f2615bd4ae /libre/bumblebee-libre/PKGBUILD
parente6e169990bdfc35fb6151f148510bf3f0da1dc1e (diff)
parent360a407f262ac47087ff29718465fbfc7765cb73 (diff)
downloadabslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.gz
abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.tar.bz2
abslibre-e14736ca7ac051726b587d8fdb8368be502a9109.zip
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
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"