summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: adc575830cf7cf441ac3f0e3b4f883c013e0b976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Chris Down <chris@chrisdown.name>

pkgname=zcfan
pkgver=1.3.0
pkgrel=1
pkgdesc='Zero-configuration fan control for ThinkPad'
url="https://github.com/cdown/zcfan"
license=('MIT')
arch=('any')
depends=()
makedepends=()
source=("https://github.com/cdown/zcfan/archive/${pkgver}.zip")
md5sums=('f014f3f3623cfe4b0ab3c66378c14168')

build() {
    cd -- "${srcdir?}/$pkgname-$pkgver"
    make prefix="/usr"
}

package() {
    cd -- "${srcdir?}/$pkgname-$pkgver"
    make prefix="/usr" DESTDIR="$pkgdir/" install
}