1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: cromo <dawid@klej.net>
8 pkgdesc="Detects the laptop hardware and configures its hotkeys for useful keycodes"
10 url="http://packages.debian.org/unstable/misc/hotkey-setup"
12 depends=('dmidecode>=2.7' 'laptop-detect')
14 install=hotkey-setup.install
15 source=(http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${pkgver}-${pkgrel}.tar.gz \
18 md5sums=('ec366bfda1c5a654e14a21bf2d0817e7'
19 '2996a8a92043e6155ae2a40643d82b2d'
20 'bf9de56dcd5e631338c31f208f72a4e9')
23 cd $srcdir/$pkgname-$pkgver-$_pkgrel
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