summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90b62c0193ab47ed29580027cda2b31b950e3624 (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
26
27
28
29
30
31
# Maintainer Adrian Wo┼║niak <adrian.wozniak@ita-prog.pl>

pkgbase=amdguid-wayland-bin
pkgname=amdguid-wayland-bin
pkgver=1.0.11
pkgrel=2
pkgdesc="AMDGPU temperature and fan speed monitoring tool"
url="https://github.com/Eraden/amdgpud"
license=('MIT' 'Apache-2.0')
source=( "https://github.com/Eraden/amdgpud/releases/download/v${pkgver}/amdguid-wayland.tar.gz")
arch=('x86_64')
md5sums=( '27db95bb6c493658a65c9f50b46dac02' )
keywords=( 'amdgpu' 'controller' 'fan', 'overclocking', 'voltage')
depends=('amdfand-bin')
optdepends=('amdmond-bin' 'amdvold-bin')

build() {
    cd $srcdir/
    tar -xvf $srcdir/amdguid-wayland.tar.gz
}

package() {
    cd $srcdir/
    mkdir -p $pkgdir/usr/bin/
    mkdir -p "$pkgdir/usr/lib/systemd/system"
    install -m 0755 $srcdir/amdguid $pkgdir/usr/bin
    install -m 0755 $srcdir/amdgui-helper $pkgdir/usr/bin
    install -m 0755 $srcdir/amdgui-helper.service "$pkgdir/usr/lib/systemd/system/amdgui-helper.service"
}

#vim: syntax=sh