blob: ca8ab5b5a11e9a0799f348dcf435553c85f8215f (
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: Chris Down <chris@chrisdown.name>
pkgname=zcfan-git
_gitname=zcfan
pkgver=1.2.1.r0.g5cf1439
pkgrel=1
pkgdesc='Zero-configuration fan control for ThinkPad (git version)'
url="https://github.com/cdown/zcfan"
license=('MIT')
arch=('any')
depends=()
provides=(zcfan)
conflicts=(zcfan)
makedepends=(git)
source=('git+https://github.com/cdown/zcfan.git')
md5sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd -- "$_gitname"
make prefix="/usr"
}
package() {
cd -- "$_gitname"
make prefix="/usr" DESTDIR="$pkgdir/" install
}
|