forked from grmat/amdgpu-fancontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
23 lines (20 loc) · 818 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: grmat <grmat@sub.red>
pkgname=amdgpu-fancontrol
pkgdesc="amdgpu-fancontrol"
pkgver=1.0
pkgrel=1
arch=('any')
license=('GPL')
depends=('systemd' 'bc')
source=('amdgpu-fancontrol' 'amdgpu-fancontrol.service' 'etc-amdgpu-fancontrol.cfg')
sha256sums=('c9c194c5f62915db91681b7b6d7bf94c047f7f0dc05e5709a7165f77e9f44d6c'
'509d5c2676ea0aa23918bebd1b4f5f0268b0a6a68a27650ce487dfb58f27e70c'
'0a032a9fe2c1c6f985e898eb84b5ae658e08146038f44f7ed4a09400e7f06d39')
package() {
mkdir -p ${pkgdir}/usr/bin
cp ${srcdir}/amdgpu-fancontrol ${pkgdir}/usr/bin/
mkdir -p ${pkgdir}/usr/lib/systemd/system
cp ${srcdir}/amdgpu-fancontrol.service ${pkgdir}/usr/lib/systemd/system/
mkdir -p ${pkgdir}/etc
cp ${srcdir}/etc-amdgpu-fancontrol.cfg ${pkgdir}/etc/amdgpu-fancontrol.cfg
}