blob: 1bdada91b6fda3098061f883df13cdadc939b0b6 (
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
|
# Maintainer: Spyros Stathopoulos <spystath [AT] gmail [DOT] com>
pkgname=nvfancontrol
pkgver=0.5.1
_pkgver=0.5.1
pkgrel=2
pkgdesc="NVidia dynamic fan control"
arch=('i686' 'x86_64')
url="https://github.com/foucault/nvfancontrol"
license=('GPL3')
depends=('libxext')
makedepends=('cargo' 'libxnvctrl')
optdepends=('nvidia: For GTX 4xx or newer cards'
'nvidia-340xx: For G8x, G9x and GTX 2xx cards')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/foucault/${pkgname}/archive/${_pkgver}.tar.gz"
"${pkgname}-${pkgver}.tar.gz.asc::https://github.com/foucault/${pkgname}/releases/download/${_pkgver}/${pkgname}-${_pkgver}.tar.gz.asc")
sha256sums=('544fe74bdaa3b509c58caac2edbacb4fd48b0fafda2d4e223dbc18cb21cf4845'
'SKIP')
validpgpkeys=('391572CF5690CAF60BB320C6A68E5115BB817582') # Spyros Stathopoulos
build() {
cd "${pkgname}-${_pkgver}"
cargo build --release
}
package() {
cd "${pkgname}-${_pkgver}"
install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin"
}
|