1 # Maintainer: Martin Lee < hellnest.fuah [at] gmail [dot] com>
6 pkgdesc="Driver for SIS M671 Chipset - Git Version"
7 url="http://github.com/hellnest/xf86-video-sismedia-0.9.1"
11 makedepends=('pkg-config' 'xorg-server>=1.0.99.901' 'xf86driproto' 'xf86dgaproto' 'xproto' 'fontsproto' 'mesa' 'glproto' 'xineramaproto' 'xorg-server-devel' 'git')
12 provides=('xf86-video-sis')
13 conflicts=('xf86-video-sis')
15 _gitroot=git://github.com/hellnest/xf86-video-sismedia-0.9.1.git
16 _gitname=xf86-video-sismedia-0.9.1
20 msg "Connecting to GIT server...."
22 if [ -d ${srcdir}/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
30 msg "GIT checkout done"
32 ./configure --prefix=/usr --disable-static
34 msg "Starting make..."
36 mkdir -p "${pkgdir}/usr/lib/xorg/modules/drivers" || return 1
37 cp src/.libs/sis_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers"