Skip to content

Instantly share code, notes, and snippets.

@black7375
Created January 18, 2022 02:42
Show Gist options
  • Save black7375/7b7b897f2a1323903ac7fed611d00656 to your computer and use it in GitHub Desktop.
Save black7375/7b7b897f2a1323903ac7fed611d00656 to your computer and use it in GitHub Desktop.
System76 Scheduler PKGBUILD
## System76 Scheduler
# URL: https://github.com/pop-os/system76-scheduler
# LICENSE(PKGBUILD): MIT
pkgname=system76-scheduler
pkgver="0.1.0"
pkgrel=1
pkgdesc="Auto-configure CFS for improved desktop responsiveness when on AC (based on Zen CFS settings)"
arch=('any')
url="https://github.com/pop-os/system76-scheduler"
license=('MPL')
depends=('cargo')
source=("git+https://github.com/pop-os/system76-scheduler.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
git rev-list --count HEAD
}
prepare() {
cd "$srcdir/${pkgname}"
}
build() {
cd "$srcdir/${pkgname}"
make
}
package() {
cd "$srcdir/${pkgname}"
make DESTDIR="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment