updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lmpcm_usb / PKGBUILD
bloba604bced6e99fcb438153ff28a0e6259edd3bea0
1 # Maintainer: hydro <hydro@freenet.de>
2 # Contributor: niQo
4 pkgname=lmpcm_usb
5 pkgver=0.5.8
6 pkgrel=1
7 pkgdesc="Logitech MediaPlay Cordless Mouse USB Linux driver. It enables all multimedia keys such as Volume Up/Down, Play/Pause, Media, Track Back/ Forward, etc."
8 url="http://daemon.prozone.org/~david/projects/lmpcm_usb/"
9 license="GPL"
10 arch=('i686')
11 makedepends=('kernel26-headers')
12 install=$pkgname.install
13 source=(http://daemon.prozone.org/~david/projects/$pkgname/$pkgname-$pkgver.tar.gz
14         lmpcm_usb-kernel_compatibility.patch)
15 md5sums=('4a862f3bc4a06cfd808defb680f8b455'
16          '2f42738e65785ea5ccc92029f9df2302')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   patch -p1 -i ../lmpcm_usb-kernel_compatibility.patch
21   make
23 package() {
24   cd $srcdir/$pkgname-$pkgver
25   _kernelver=`uname -r`
26   install -D -m644 lmpcm_usb.ko \
27   $pkgdir/lib/modules/$_kernelver/misc/lmpcm_usb.ko