summaryrefslogtreecommitdiff
path: root/extra/i8kutils/PKGBUILD
blob: eba677659b319aeac28c94a9639171bf4eb6d789 (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 66619 2010-02-01 02:26:09Z giovanni $
# Contributor: Eric Johnson <eric@coding-zone.com>
# Maintainer: Thayer Williams <thayer@archlinux.org>

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' 'mips64el')
depends=('glibc')
source=(http://ftp.archlinux.org/other/i8kutils/$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