blob: c10263cf31e59e3554ec027a7fd28eee6b8bc6de (
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
32
33
34
35
36
|
# Maintainer: Hong Shick Pak <hong@hspak.com>
pkgname=simpfand-git
pkgver=v4.2.10.gdd100b5
pkgrel=1
pkgdesc="A simple fan control daemon for ThinkPads"
arch=('i686' 'x86_64')
url="http://github.com/hspak/simpfand"
license=('MIT')
depends=()
makedepends=('git')
conflicts=('simpfand')
provides=('simpfand')
source=("git+https://github.com/hspak/simpfand")
install=simpfand-git.install
md5sums=('SKIP')
pkgver() {
cd 'simpfand'
git describe | sed 's/-/./g'
}
build() {
make -C simpfand
}
package() {
make -C simpfand PREFIX=/usr DESTDIR="$pkgdir" install
install -D -m644 "${srcdir}/simpfand/simpfand.service" "${pkgdir}/usr/lib/systemd/system/simpfand.service"
install -D -m755 "${srcdir}/simpfand/restart-simpfand.sh" "${pkgdir}/usr/lib/systemd/system-sleep/restart-simpfand.sh"
# license
install -D -m644 "${srcdir}/simpfand/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: ft=sh syn=sh et
|