updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mach64drm / PKGBUILD
blobce15416fbca12e5704aed186be113a88dc456032
1 # Maintainer: trya <tryagainprod@gmail.com>
3 pkgname=mach64drm
4 pkgver=20120119
5 pkgrel=1
6 pkgdesc="Mach64 DRM module"
7 arch=('i686' 'x86_64')
8 url="http://dri.freedesktop.org/wiki/DRM"
9 license=('GPL')
10 depends=('linux')
11 makedepends=('linux-headers')
12 optdepends=('mach64-dri: Mesa DRI drivers for Mach64'
13             'xf86-video-mach64: X.Org Mach64 video driver')
14 source=(http://trya.alwaysdata.net/linux/mach64-$pkgver.tar.gz)
15 md5sums=('44a113c71e7a38ca1901bb58228f01ec')
16 install="mach64drm.install"
18 build() {
19   cd "$srcdir/mach64-$pkgver"
20   make
23 package() {
24   install -Dm644 "$srcdir/mach64-$pkgver/mach64.ko" \
25     "$pkgdir/lib/modules/`uname -r`/kernel/drivers/gpu/drm/mach64/mach64.ko"