blob: 847c3e9b99f6ea84af50fbfc80441598cc79181d (
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
|
# Maintainer: hexchain <i at hexchain dot org>
pkgname=dellfan-git
_repo=dellfan
url="https://github.com/clopez/dellfan"
pkgver=r2.fe2ec69
pkgrel=1
arch=('x86_64')
pkgdesc="User space utility to control the fan speed on Dell Laptops"
license=('GPL2')
depends=('glibc')
source=("git+https://github.com/clopez/dellfan.git")
pkgver() {
cd "$_repo"
( set -o pipefail; git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)";
)
}
build() {
cd "$srcdir/$_repo"
make
}
package() {
cd "$srcdir/$_repo"
install -Dm755 dellfan "$pkgdir/usr/bin/dellfan"
}
sha256sums=('SKIP')
|