updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / vaiofand / PKGBUILD
blobacf4948ba7574cf010f6c0dbb7301d3457eabb51
1 # Maintainer: David Jurenka <arch.box NO-SP@M imx.jurenka DOT cz>
2 pkgname=vaiofand
3 pkgver=0.10.1
4 pkgrel=1
5 pkgdesc="Fan controller for Sony Vaio laptops"
6 arch=(i686 x86_64)
7 url="http://vaio-utils.org/fan/"
8 license=('custom:ISC')
9 depends=(bash)
10 makedepends=(linux-headers)
11 backup=(etc/vaiofand.conf)
12 install=vaiofand.install
13 source=(http://vaio-utils.org/download/$pkgname-$pkgver.tar.xz)
14 md5sums=(a92da6b137f7f831ff82c69b18822096)
15 sha256sums=(88f304e72645410bf9f63908b54ba80e58ef3bf6e425959391c04e8cec819c5f)
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   make
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   make prefix=/usr DESTDIR="$pkgdir/" copy
25   # rc.d script
26   install -d "${pkgdir}/etc/rc.d"
27   install "init-scripts/arch/${pkgname}" "${pkgdir}/etc/rc.d"
28   # license
29   install -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"