updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hotkey-setup / PKGBUILD
blob69a6b74b7277033d71a556aed346295356053dd0
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: cromo <dawid@klej.net>
4 pkgname=hotkey-setup
5 pkgver=0.1
6 pkgrel=23
7 _pkgrel=21
8 pkgdesc="Detects the laptop hardware and configures its hotkeys for useful keycodes" 
9 arch=('i686' 'x86_64')
10 url="http://packages.debian.org/unstable/misc/hotkey-setup" 
11 license=('BSD')
12 depends=('dmidecode>=2.7' 'laptop-detect')
13 conflicts=('tpb')
14 install=hotkey-setup.install
15 source=(http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${pkgver}-${pkgrel}.tar.gz \
16         hotkey-setup
17         hotkey-setup.install)
18 md5sums=('ec366bfda1c5a654e14a21bf2d0817e7'
19          '2996a8a92043e6155ae2a40643d82b2d'
20          'bf9de56dcd5e631338c31f208f72a4e9')
22 build() { 
23     cd $srcdir/$pkgname-$pkgver-$_pkgrel
24     make 
27 package() {
28     cd $srcdir/$pkgname-$pkgver-$_pkgrel
30     install -D dumpkeycodes $pkgdir/usr/sbin/dumpkeycodes
31     install -D thinkpad-keys $pkgdir/usr/sbin/thinkpad-keys
32     install -D -m644 key-constants $pkgdir/usr/share/$pkgname/key-constants
33     install -m644 *.hk $pkgdir/usr/share/$pkgname/
34     install -D -m755 $srcdir/hotkey-setup $pkgdir/etc/rc.d/hotkey-setup
35     install -D -m644 debian/copyright $pkgdir/usr/share/licenses/$pkgname/license.txt