summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-11-27 01:12:42 -0600
committerLuis Martinez2021-11-27 01:12:42 -0600
commit62e93d6a5dffb25fc9ec35dcdf0777cb69541078 (patch)
treee93054ee3ec908c96e0c48b0095438273c766334
parentc878b8928d15ab5ad2fd7e9bc0ad7244b6010439 (diff)
downloadaur-62e93d6a5dffb25fc9ec35dcdf0777cb69541078.tar.gz
use default_config.toml from upstream
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--config.toml34
3 files changed, 7 insertions, 41 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3707722d150..f36bed52f20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = amdgpud-bin
pkgdesc = Fan control service for AMD GPUs
pkgver = 1.0.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/eraden/amdgpud
arch = x86_64
license = Apache
@@ -13,11 +13,11 @@ pkgbase = amdgpud-bin
source = README-1.0.6.md::https://github.com/eraden/amdgpud/raw/v1.0.6/README.md
source = LICENSE-MIT-1.0.6.md::https://github.com/eraden/amdgpud/raw/v1.0.6/LICENSE.md
source = LICENSE-APACHE-1.0.6.txt::https://github.com/eraden/amdgpud/raw/v1.0.6/LICENSE.APACHE2.txt
- source = config.toml
+ source = config-1.0.6.toml::https://github.com/eraden/amdgpud/raw/v1.0.6/examples/default_config.toml
sha256sums = 693f8e1fdd0ec2a6dcf78e5d70c8f2c2e62682aca67c29155815dfc502406b8a
sha256sums = 09d02bd33e6ee705c4768f9b93c3c08eba9178e2b2dce90e1ab8a6c16f9e8001
sha256sums = 89fda1599b666566728d0d3526d172548bd8d351c99c7b941be0a87ba6cc2e11
sha256sums = 5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2
- sha256sums = 708070794d89e86d307fd17009e0410adf49adc471cfcde0fdec1f217c85f0de
+ sha256sums = a90b8c397a4d1c9e17599b806fce7883e1f0f8b6102b97efa7dab55b682221e3
pkgname = amdgpud-bin
diff --git a/PKGBUILD b/PKGBUILD
index 3b18b483e18..f9ddfa5e1b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=amdgpud-bin
_name=${pkgname%-bin}
pkgver=1.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Fan control service for AMD GPUs"
arch=('x86_64')
url="https://github.com/eraden/amdgpud"
@@ -15,17 +15,17 @@ source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/build.tar.gz"
"README-$pkgver.md::$url/raw/v$pkgver/README.md"
"LICENSE-MIT-$pkgver.md::$url/raw/v$pkgver/LICENSE.md"
"LICENSE-APACHE-$pkgver.txt::$url/raw/v$pkgver/LICENSE.APACHE2.txt"
- 'config.toml')
+ "config-$pkgver.toml::$url/raw/v$pkgver/examples/default_config.toml")
sha256sums=('693f8e1fdd0ec2a6dcf78e5d70c8f2c2e62682aca67c29155815dfc502406b8a'
'09d02bd33e6ee705c4768f9b93c3c08eba9178e2b2dce90e1ab8a6c16f9e8001'
'89fda1599b666566728d0d3526d172548bd8d351c99c7b941be0a87ba6cc2e11'
'5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2'
- '708070794d89e86d307fd17009e0410adf49adc471cfcde0fdec1f217c85f0de')
+ 'a90b8c397a4d1c9e17599b806fce7883e1f0f8b6102b97efa7dab55b682221e3')
package() {
install -D amdfand amdvold -t "$pkgdir/usr/bin/"
install -Dm644 amdfand.service amdvold.service -t "$pkgdir/usr/lib/systemd/system/"
- install -Dm644 config.toml -t "$pkgdir/etc/$_name/"
+ install -Dm644 "config-$pkgver.toml" "$pkgdir/etc/$_name/config.toml"
install -Dm644 "LICENSE-MIT-$pkgver.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT.md"
install -Dm644 "LICENSE-APACHE-$pkgver.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE.txt"
install -Dm644 "README-$pkgver.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
diff --git a/config.toml b/config.toml
deleted file mode 100644
index 7350a0d6137..00000000000
--- a/config.toml
+++ /dev/null
@@ -1,34 +0,0 @@
-log_level = "Error"
-cards = ["card0"]
-
-[[speed_matrix]]
-temp = 4.0
-speed = 4
-
-[[speed_matrix]]
-temp = 30.0
-speed = 33
-
-[[speed_matrix]]
-temp = 45.0
-speed = 50
-
-[[speed_matrix]]
-temp = 60.0
-speed = 66
-
-[[speed_matrix]]
-temp = 65.0
-speed = 69
-
-[[speed_matrix]]
-temp = 70.0
-speed = 75
-
-[[speed_matrix]]
-temp = 75.0
-speed = 89
-
-[[speed_matrix]]
-temp = 80.0
-speed = 100