4 pkgdesc="Intel GMA500 KMS Framebuffer"
6 url="https://code.launchpad.net/~tista/+junk/psb-gfx-daily"
9 depends=('linux>=2.6.39', 'xf86-video-fbdev')
16 install=psb-gfx.install
20 _bzrtrunk="https://code.launchpad.net/~tista/+junk/psb-gfx-daily"
25 msg "Connecting to Bazaar server...."
27 if [ -d $_bzrmod ] ; then
28 cd ${_bzrmod} && bzr --no-plugins pull ${_bzrtrunk} -r ${pkgver}
29 msg "The local files are updated."
31 bzr --no-plugins branch ${_bzrtrunk} ${_bzrmod} -q -r ${pkgver}
34 msg "Bazaar checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_bzrmod-build"
38 cp -r "$srcdir/$_bzrmod" "$srcdir/$_bzrmod-build"
39 cd "$srcdir/$_bzrmod-build"
48 cd ${srcdir}/$_bzrmod-build/;
51 #make DESTDIR=${pkgdir}/ install;
53 # as we don't use dkms, simple copying module to kernel dir
55 install -dm 755 ${pkgdir}/lib/modules/$(uname -r)/extra/psb
56 install -m 755 psb_gfx.ko ${pkgdir}/lib/modules/$(uname -r)/extra/psb