# $Id: PKGBUILD 48426 2009-08-01 20:32:21Z jgc $ #Maintainer: Jan de Groot pkgname=xf86-video-neomagic pkgver=1.2.4 pkgrel=1 pkgdesc="X.org neomagic video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('pkgconfig' 'xorg-server>=1.6.3' 'xf86dgaproto') conflicts=('xorg-server<1.6.3') groups=('xorg-video-drivers') options=('!libtool') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE) md5sums=('2d722ee9b9fe8da49109f280689c9c25' 'e2db3e2e5c75dc8084660fb30a2e2203') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 }