summaryrefslogtreecommitdiff
path: root/extra/xf86-video-vesa/PKGBUILD
blob: 95ee4a1ae3233d408a8ec73b9a36e764b765e12a (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
31
32
33
34
35
36
37
38
39
40
# $Id: PKGBUILD 153382 2012-03-12 20:55:11Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-vesa
pkgver=2.3.0
pkgrel=8
_gitver=4ba7306fd0c9533750d389829e2cbf0522e149b3
pkgdesc="X.org vesa video driver"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server-devel>=1.11.99.903')
conflicts=('xorg-server<1.11.99.903')
groups=('xorg-drivers' 'xorg')
options=('!libtool')
source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
        http://cgit.freedesktop.org/xorg/driver/xf86-video-vesa/snapshot/xf86-video-vesa-${_gitver}.tar.gz
        #git-fixes.patch
        revert-kernelcheck.patch)
sha1sums=('52f5bf577038c6fe7819743ceac787bb619b6d47'
          'c14454521ac91aaa08aad8a6025d7720a613d54b')

build() {
  #cd "${srcdir}/${pkgname}-${pkgver}"
  cd ${srcdir}/${pkgname}*
  #patch -Np1 -i "${srcdir}/git-fixes.patch"
  patch -Np1 -R -i "${srcdir}/revert-kernelcheck.patch"
  autoreconf -fi
  ./configure --prefix=/usr
  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}/"
}