summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-12-09 10:12:21 -0600
committerLuis Martinez2021-12-09 10:12:21 -0600
commit900508ca4b9f067775a2017788117a8c4d5d50f8 (patch)
tree80b9ba701d4c0a91390c4ef71dad229df724e9dc
parentfa6bfdd812be0a1642c30f9f0d409374437281b7 (diff)
downloadaur-900508ca4b9f067775a2017788117a8c4d5d50f8.tar.gz
fix package
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2acc35c930a..2016344f1d3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = amdgpud-bin
pkgdesc = Fan control service for AMD GPUs
pkgver = 1.0.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/eraden/amdgpud
arch = x86_64
license = Apache
@@ -10,11 +10,15 @@ pkgbase = amdgpud-bin
conflicts = amdgpud
backup = etc/amdgpud/config.toml
source = amdgpud-bin-1.0.7.tar.gz::https://github.com/eraden/amdgpud/releases/download/v1.0.7/build.tar.gz
+ source = amdvold-1.0.7::https://github.com/eraden/amdgpud/releases/download/v1.0.7/amdvold
+ source = amdvold-1.0.7.service::https://github.com/eraden/amdgpud/releases/download/v1.0.7/amdvold.service
source = README-1.0.7.md::https://github.com/eraden/amdgpud/raw/v1.0.7/README.md
source = LICENSE-MIT-1.0.7.md::https://github.com/eraden/amdgpud/raw/v1.0.7/LICENSE.md
source = LICENSE-APACHE-1.0.7.txt::https://github.com/eraden/amdgpud/raw/v1.0.7/LICENSE.APACHE2.txt
source = config-1.0.7.toml::https://github.com/eraden/amdgpud/raw/v1.0.7/examples/default_config.toml
sha256sums = 7cfb7b172fbb2ac35f35ced265a8973911a2383f6b9092a7aa3ce1f7c3c69f62
+ sha256sums = a4945c220a1240e5f3fded0b533fc2d4b2e6d6723708538bf8e5851c78811c8d
+ sha256sums = 811ba3e297e131a6f7f2c341096168feb29312596676353263cb7df38e156245
sha256sums = 7dd68d0fd7ebb105b023edfad46d47bbcbef6ba7292259381a90bc24cd1dbb25
sha256sums = 89fda1599b666566728d0d3526d172548bd8d351c99c7b941be0a87ba6cc2e11
sha256sums = 5053a909abf57ac6651ebdcbcd0768bf89426de1ba0c3a49e171a63a6656a2e2
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"