summaryrefslogtreecommitdiff
path: root/extra/xf86-video-unichrome/PKGBUILD
blob: 1647f8cf17b99645a4800f42a264cb70631fd8e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 153378 2012-03-12 20:54:55Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-unichrome
pkgver=0.2.7
pkgrel=7
_gitversion=b917bee87db8a65b8e8da0ca12c24a176c9e9fb2
pkgdesc="Unichrome video drivers for X.Org"
arch=(i686 x86_64)
url="http://unichrome.sf.net/"
license=('custom')
depends=('glibc')
makedepends=('xorg-server-devel>=1.11.99.903' 'libx11' 'libdrm' 'xf86driproto' 'mesa' 'libxvmc') # 'glproto')
options=('!libtool')
conflicts=('xf86-video-via' 'openchrome' 'xf86-video-openchrome' 'xorg-server<1.11.99.903')
source=(http://cgit.freedesktop.org/~libv/${pkgname}/snapshot/${pkgname}-${_gitversion}.tar.bz2)
md5sums=('f7adef052de08a01af86e245d1932239')

build() {
  cd "${srcdir}/${pkgname}-${_gitversion}"
  ./autogen.sh --prefix=/usr #--enable-dri
  make
}

package() {
  cd "${srcdir}/${pkgname}-${_gitversion}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}