# $Id: PKGBUILD 51063 2009-09-04 17:54:49Z jgc $ # Maintainer: Jan de Groot # Contributor: Alexander Baldeck pkgname=xf86-video-siliconmotion pkgver=1.7.3 pkgrel=1 pkgdesc="X.org siliconmotion video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('pkgconfig' 'xorg-server>=1.6.3') conflicts=('xorg-server<1.6.3') options=('!libtool') groups=('xorg-video-drivers') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE) sha1sums=('f3edf5853a17c3725c11ea983edcf4b6bd54d10a' '8dddfbedff2b358c2e98f18cd25a2210bee347a7') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }