contrib/bbswitch/Pkgfile

15 lines
424 B
Plaintext
Raw Normal View History

2018-08-16 23:05:57 +02:00
# Description: A kernel module for automating module switches on optimus laptops
# URL: https://github.com/Bumblebee-Project/bbswitch
# Maintainer: Matt Housh, jaeger at crux dot ninja
name=bbswitch
version=0.8
release=1
source=(https://github.com/Bumblebee-Project/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
make
install -D -m 0644 $name.ko $PKG/lib/modules/$(uname -r)/misc/$name.ko
}