summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xf86-video-v4l/PKGBUILD
blob: bf3cb087e112f24480241b888fbd00105988df38 (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
# $Id: PKGBUILD 75874 2010-04-04 18:49:03Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-v4l
pkgver=0.2.0
pkgrel=5
pkgdesc="X.org v4l video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.8.0')
conflicts=('xorg-server<1.8.0')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE)
md5sums=('2251ae2a0a905764941cd7b098e85ad1'
         '7d4d018f6bbff7e42672d1aabc75c5cf')

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"
}