summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 80d7a5667ba..4436ca418fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=amdgpud-bin
_name=${pkgname%-bin}
pkgver=1.0.7
-pkgrel=1
+pkgrel=2
pkgdesc="Fan control service for AMD GPUs"
arch=('x86_64')
url="https://github.com/eraden/amdgpud"
@@ -12,19 +12,25 @@ provides=("$_name")
conflicts=("$_name")
backup=("etc/$_name/config.toml")
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/build.tar.gz"
+ "amdvold-$pkgver::$url/releases/download/v$pkgver/amdvold"
+ "amdvold-$pkgver.service::$url/releases/download/v$pkgver/amdvold.service"
"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-$pkgver.toml::$url/raw/v$pkgver/examples/default_config.toml")
sha256sums=('7cfb7b172fbb2ac35f35ced265a8973911a2383f6b9092a7aa3ce1f7c3c69f62'
+ 'a4945c220a1240e5f3fded0b533fc2d4b2e6d6723708538bf8e5851c78811c8d'
+ '811ba3e297e131a6f7f2c341096168feb29312596676353263cb7df38e156245'
'7dd68d0fd7ebb105b023edfad46d47bbcbef6ba7292259381a90bc24cd1dbb25'
'89fda1599b666566728d0d3526d172548bd8d351c99c7b941be0a87ba6cc2e11'
'5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2'
'a90b8c397a4d1c9e17599b806fce7883e1f0f8b6102b97efa7dab55b682221e3')
package() {
- install -D amdfand amdvold -t "$pkgdir/usr/bin/"
- install -Dm644 amdfand.service amdvold.service -t "$pkgdir/usr/lib/systemd/system/"
+ install -D amdfand -t "$pkgdir/usr/bin/"
+ install -D "amdvold-$pkgver" "$pkgdir/usr/bin/amdvold"
+ install -Dm644 amdfand.service -t "$pkgdir/usr/lib/systemd/system/"
+ install -Dm644 "amdvold-$pkgver.service" "$pkgdir/usr/lib/systemd/system/amdvold.service"
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"