Turboboost toggle

This commit is contained in:
Fabrice Mouhartem 2022-07-17 10:15:27 +02:00
parent 6c0ba2ab60
commit c621ac4cf1
2 changed files with 47 additions and 0 deletions

47
boost_toggle/PKGBUILD Normal file
View File

@ -0,0 +1,47 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=turboboost-toggle
pkgver=0.1.0
pkgrel=1
epoch=
pkgdesc="toggle turboboost"
arch=(x86_64)
url=""
license=('GPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("turboboost-toggle.tgz")
noextract=()
sha256sums=('84d94ebbe8e6501fd7848f7f4c6355e8deef197d32ebb104a5bb4d7c676ad2da')
validpgpkeys=()
prepare() {
true
}
build() {
cd "$pkgname"
cargo build --release
}
package() {
cd "$pkgname"
pwd
install -d "$pkgdir/usr/bin"
install -m755 "target/release/$pkgname" "$pkgdir/usr/bin/"
chmod u+s "$pkgdir/usr/bin/$pkgname"
}

Binary file not shown.