summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c67854ff6144391a6165f5ffe000f8c24727c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer Adam Perkowski <adas1per@protonmail.com>
# https://github.com/adamperkowski/PKGBUILDs
_pkgname=amdguid-wayland
pkgname="$_pkgname-bin"
_pkgver=1.0.12
pkgver=1.0.13
pkgrel=2
pkgdesc="AMDGPU temperature and fan speed monitoring tool"
url="https://github.com/Eraden/amdgpud"
license=('MIT' 'Apache-2.0')
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$_pkgver/$_pkgname-archlinux-latest-$pkgver.zip")
arch=('x86_64')
md5sums=('ce25a6c319f0cf839e20a70547619622')
keywords=('amdgpu' 'controller' 'fan' 'overclocking' 'voltage')
depends=('amdfand')
optdepends=('amdmond' 'amdvold')
provides=("$_pkgname" 'amdguid')
conflicts=("$_pkgname" 'amdguid')

package() {
    cd "$srcdir"
    install -Dm0755 "target/release/$_pkgname" -t "$pkgdir/usr/bin"
    install -Dm0755 "target/release/amdgui-helper" -t "$pkgdir/usr/bin"
    install -Dm0755 "services/amdgui-helper.service" -t "$pkgdir/usr/lib/systemd/system"
}