Turboboost toggle
This commit is contained in:
parent
6c0ba2ab60
commit
c621ac4cf1
47
boost_toggle/PKGBUILD
Normal file
47
boost_toggle/PKGBUILD
Normal 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"
|
||||||
|
}
|
BIN
boost_toggle/turboboost-toggle.tgz
Normal file
BIN
boost_toggle/turboboost-toggle.tgz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user