mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
981 B
Bash
29 lines
981 B
Bash
|
# $Id: PKGBUILD 48791 2009-08-03 21:00:20Z jgc $
|
||
|
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
|
||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||
|
pkgname=xf86-video-mga
|
||
|
pkgver=1.4.11
|
||
|
pkgrel=1
|
||
|
pkgdesc="X.org mga video driver"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://xorg.freedesktop.org/"
|
||
|
license=('custom')
|
||
|
depends=('glibc' 'mga-dri')
|
||
|
makedepends=('pkgconfig' 'xorg-server>=1.6.3' "mesa>=7.5" 'xf86driproto' 'glproto>=1.4.9')
|
||
|
conflicts=('xorg-server<1.6.3')
|
||
|
options=('!libtool' 'force')
|
||
|
groups=('xorg-video-drivers')
|
||
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
||
|
LICENSE)
|
||
|
md5sums=('9d1ca965cedb0856296b47442f3c739d'
|
||
|
'b71a5cd59dcaa0b7d9bbbfc597915dd6')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr \
|
||
|
--enable-dri || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||
|
}
|