diff options
author | Rene Hollander | 2019-10-25 15:26:31 +0200 |
---|---|---|
committer | Rene Hollander | 2019-10-25 15:35:46 +0200 |
commit | e8e6469db023189c02a457f503370005cfb6dc92 (patch) | |
tree | 71b9b27255a880547aa180c76927c838bb3bbff4 | |
parent | 1652eee9e1eba18610b022722443082fe3c4a9b6 (diff) | |
download | aur-e8e6469db023189c02a457f503370005cfb6dc92.tar.gz |
Update to v019. This version also installs the config and systemd unit file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | nfancurve.install | 5 |
3 files changed, 13 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = nfancurve pkgdesc = A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs - pkgver = 018 + pkgver = 019 pkgrel = 1 url = https://github.com/nan0s7/nfancurve install = nfancurve.install @@ -11,8 +11,8 @@ pkgbase = nfancurve depends = nvidia-settings depends = procps conflicts = nfancurve-git - source = nfancurve-018::https://github.com/nan0s7/nfancurve/archive/v018.tar.gz - sha512sums = 2d04a1313c00d4f691f24f55e0681ef02c49bd346257efa6f5c194483f0ab7611bc533b5b42c8364ca8a6be0804bcb725c8f384f5069dc4b547279df785225ec + source = nfancurve-019::https://github.com/nan0s7/nfancurve/archive/v019.tar.gz + sha512sums = 17f792781cafaaed19de147ecea7e7ba857650d45a7a061b5982b3a2133c1d1f858630c7bd001a3c1dd7e4e052492e3b42cdc852e22c0d56904a07755b6d45a1 pkgname = nfancurve @@ -1,8 +1,9 @@ -# Maintainer: Sefa Eyeoglu <contact@scrumplex.net> +# Maintainer: Rene Hollander <mail@renehollander.at> +# Contributor: Sefa Eyeoglu <contact@scrumplex.net> _pkgname=nfancurve pkgname=${_pkgname} -pkgver=018 +pkgver=019 pkgrel=1 pkgdesc="A small and lightweight Bash script for using a custom fan curve in Linux for NVIDIA GPUs" arch=("any") @@ -14,14 +15,16 @@ conflicts=("${_pkgname}-git") install=${_pkgname}.install source=("${_pkgname}-${pkgver}::https://github.com/nan0s7/${_pkgname}/archive/v${pkgver}.tar.gz") -sha512sums=('2d04a1313c00d4f691f24f55e0681ef02c49bd346257efa6f5c194483f0ab7611bc533b5b42c8364ca8a6be0804bcb725c8f384f5069dc4b547279df785225ec') +sha512sums=('17f792781cafaaed19de147ecea7e7ba857650d45a7a061b5982b3a2133c1d1f858630c7bd001a3c1dd7e4e052492e3b42cdc852e22c0d56904a07755b6d45a1') package() { cd "${_pkgname}-${pkgver}" install -Dm755 "temp.sh" "$pkgdir/usr/bin/nfancurve" - install -Dm644 "config" "$pkgdir/usr/share/doc/${_pkgname}/config.example" + install -Dm644 "config" "$pkgdir/etc/nfancurve.conf" + sed -i "s/NFANCURVE_PATH\/temp.sh/\/usr\/bin\/nfancurve -c \/etc\/nfancurve.conf/" nfancurve.service + install -Dm644 "nfancurve.service" "$pkgdir/usr/lib/systemd/user/nfancurve.service" install -Dm644 "README.md" "$pkgdir/usr/share/doc/${_pkgname}/README.md" install -Dm644 "USAGE.md" "$pkgdir/usr/share/doc/${_pkgname}/USAGE.md" diff --git a/nfancurve.install b/nfancurve.install index 39f3e06110e7..a5543c09f455 100644 --- a/nfancurve.install +++ b/nfancurve.install @@ -9,10 +9,11 @@ blue="${bold}$(tput setaf 4)" yellow="${bold}$(tput setaf 3)" post_install() { - note "You will need to create a config file to use nfancurve." - note "An example config can be found at /usr/share/doc/nfancurve/config.example" + note "Make sure CoolBits are enabled for the correct Device. See USAGE.md." + note "You may want to edit the fan curve config in /etc/nfancurve.conf" } post_upgrade() { post_install } + |