Created
January 18, 2022 02:42
-
-
Save black7375/7b7b897f2a1323903ac7fed611d00656 to your computer and use it in GitHub Desktop.
System76 Scheduler PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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