# Part of the X.org group # Maintainer: Neophytos Kolokotronis pkgname=xf86-video-sis pkgver=0.10.8 pkgrel=1 pkgdesc="X.org SiS video driver" arch=('x86_64') url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=19' 'xf86dgaproto') conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<19' 'X-ABI-VIDEODRV_VERSION>=20') optdepends=('sis-dri: DRI1 support from community repo') groups=('xorg-drivers' 'xorg') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 Xi.patch) sha256sums=('c8f3f2577f69334dfcc4bf96477dce45161170555f3abdfa105599e61bc7d3fe' '7a1a0b784664a0f011bd13395be1854dee407e901d2707ab1a6b8d20caa0a672') prepare() { cd ${pkgname}-${pkgver} patch -Np1 -i ${srcdir}/Xi.patch } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }