PKGBUILDs/extra/i8kutils/PKGBUILD

29 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 19245 2008-11-17 22:46:50Z thayer $
# Contributor: Eric Johnson <eric@coding-zone.com>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=i8kutils
pkgver=1.27
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=(http://ftp.archlinux.org/other/i8kutils/$pkgname\_$pkgver.tar.gz)
md5sums=('8f3d3cbf7197fc209b0b64bf0a9732e3')
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