# $Id: PKGBUILD 150182 2012-02-14 09:08:45Z andyrtr $ # Maintainer: Jan de Groot pkgname=xf86-video-savage pkgver=2.3.3 pkgrel=3 _gitver=c4022796ec69bb3223d435d8442f9168aebe9c3d pkgdesc="X.org savage video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('xorg-server-devel>=1.11.99.903') # 'libdrm' 'xf86driproto' 'mesa>=8.0') # 'glproto') conflicts=('xorg-server<1.11.99.903' 'savage-dri') options=(!libtool !makeflags) groups=('xorg-drivers' 'xorg') source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 #http://cgit.freedesktop.org/xorg/driver/xf86-video-savage/snapshot/xf86-video-savage-${_gitver}.tar.gz ftp://ftp..archlinux.org/other/xf86-video-savage/xf86-video-savage-${_gitver}.tar.gz) md5sums=('3a7921de0d365ab5dd1af15010807e36') build() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* autoreconf -fi ./configure --prefix=/usr --disable-dri make } package() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* make DESTDIR="${pkgdir}" install install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }