updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / linux-fusion / PKGBUILD
blob5df6c2c36ab435b69eafc388367b9b13320dca04
1 # Contributor: bountykiller <masse.nicolas@gmail.com>
2 # Contributor: Georgios Tsalikis <aliverius@tsalikis.net>
3 # Contributor:  Jesse Jaara <gmail.com: jesse.jaara>      
5 pkgname=linux-fusion
6 pkgver=8.5.1
7 pkgrel=1
8 pkgdesc="Kernel module providing the IPC for DirectFB multi-app, FusionSound & FusionDale"
9 arch=(i686 x86_64)
10 url="http://www.directfb.org"
11 license="GPL2"
12 depends=('kernel26')
13 makedepends=('kernel26-headers')
14 install=$pkgname.install
15 source=(http://www.directfb.org/downloads/Core/$pkgname/$pkgname-$pkgver.tar.gz 
16         30-fusion.rules)
17 md5sums=('0993c7f5302ebbce30986776e2d70c0c'
18          '3c78337fceaa897d536a93ae840cdd19')
21 ### To build for a kernel, other than the one in use ###
22 ### Please set its name here.                        ###
23 kversion=`uname -r`
27 build () {
28         cd $startdir/src/$pkgname-$pkgver/
30         make KERNEL_VERSION="${kversion}" modules
34 package() {
35         install -D -m644 "${srcdir}/${pkgname}-${pkgver}/linux/drivers/char/fusion/fusion.ko" \
36                                 "${pkgdir}/lib/modules/${kversion}/kernel/drivers/char/fusion.ko"
37         gzip "${pkgdir}/lib/modules/${kversion}/kernel/drivers/char/fusion.ko"
38         install -D -m644 "${srcdir}/${pkgname}-${pkgver}/linux/include/linux/fusion.h" "${pkgdir}/usr/include/linux/fusion.h"
39         install -D -m644 "${srcdir}/30-fusion.rules" "${pkgdir}/etc/udev/rules.d/30-fusion.rules"