diff --git a/boost_toggle/PKGBUILD b/boost_toggle/PKGBUILD new file mode 100644 index 0000000..18f7059 --- /dev/null +++ b/boost_toggle/PKGBUILD @@ -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 +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" +} diff --git a/boost_toggle/turboboost-toggle.tgz b/boost_toggle/turboboost-toggle.tgz new file mode 100644 index 0000000..e602300 Binary files /dev/null and b/boost_toggle/turboboost-toggle.tgz differ