# Maintainer: Natanael Copa pkgname=xf86-video-siliconmotion pkgver=1.7.9 pkgrel=2 pkgdesc="Silicon Motion video driver" url="http://xorg.freedesktop.org/" arch="x86_64 x86" license="MIT" subpackages="$pkgname-doc" depends= makedepends="xorg-server-dev libxi-dev util-macros xorgproto" source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 " builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="13085945ca496f83521c28b25c394077e010031dbdc2374347a932a52650ada02f525269a81d0b0bb20b48e371d5435a7a73cb7555a07dc5a784e77152608c63 xf86-video-siliconmotion-1.7.9.tar.bz2"