PKGBUILDs/extra/xf86-video-siliconmotion/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
979 B
Bash

# $Id: PKGBUILD 51063 2009-09-04 17:54:49Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
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
}