summaryrefslogtreecommitdiff
path: root/extra/i8kutils
diff options
context:
space:
mode:
Diffstat (limited to 'extra/i8kutils')
-rw-r--r--extra/i8kutils/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/i8kutils/PKGBUILD b/extra/i8kutils/PKGBUILD
new file mode 100644
index 000000000..51329a77f
--- /dev/null
+++ b/extra/i8kutils/PKGBUILD
@@ -0,0 +1,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')
+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