blob: 6c932a3a7b5f8c468a94fd1596942c95518b1ccb (
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
|
# $Id: PKGBUILD 135896 2011-08-20 04:45:48Z eric $
# Maintainer: Thayer Williams <thayer@archlinux.org>
# Contributor: Eric Johnson <eric@coding-zone.com>
pkgname=i8kutils
pkgver=1.33
pkgrel=1
pkgdesc="Dell Inspiron/Latitude kernel driver and utilities"
url="http://people.debian.org/~dz/i8k/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('glibc')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}_${pkgver}.tar.gz)
md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
build() {
cd $srcdir/$pkgname-$pkgver
make || return 1
# no configure script, and Makefile has /usr hardcoded
install -D -m755 i8kctl $pkgdir/usr/bin/i8kctl || return 1
install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
install -D -m755 i8kbuttons $pkgdir/usr/bin/i8kbuttons || return 1
install -D -m644 i8kbuttons.1 $pkgdir/usr/share/man/man1/i8kbuttons.1 || return 1
install -D -m644 i8kctl.1 $pkgdir/usr/share/man/man1/i8kctl.1 || return 1
ln -fs ./i8kctl $pkgdir/usr/bin/i8kfan || return 1
}
# vim: ts=2 sw=2 et ft=sh
|