diff options
author | root <root@rshg054.dnsready.net> | 2012-10-07 00:37:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-07 00:37:20 -0700 |
commit | 682e4a12f537d598cb116ba394ceeae1eafc281e (patch) | |
tree | b48c04d80686157d339741b922053c2e88b15d68 /testing/xf86-video-v4l/PKGBUILD | |
parent | e7552010f531ef1b114352f0ce71a307360bf1d4 (diff) |
Sun Oct 7 00:37:16 PDT 2012
Diffstat (limited to 'testing/xf86-video-v4l/PKGBUILD')
-rw-r--r-- | testing/xf86-video-v4l/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/xf86-video-v4l/PKGBUILD b/testing/xf86-video-v4l/PKGBUILD new file mode 100644 index 000000000..0abdbe466 --- /dev/null +++ b/testing/xf86-video-v4l/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 168245 2012-10-06 20:08:37Z andyrtr $ +#Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=xf86-video-v4l +pkgver=0.2.0 +pkgrel=11 +pkgdesc="X.org v4l video driver" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('glibc') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'scrnsaverproto') +conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14') +groups=('xorg-drivers' 'xorg') +options=('!libtool') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + git-fixes.patch + LICENSE) +md5sums=('2251ae2a0a905764941cd7b098e85ad1' + 'cdb7113a9564ea9202e847de88440540' + '7d4d018f6bbff7e42672d1aabc75c5cf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/git-fixes.patch" + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" +} |