# $Id: PKGBUILD 196345 2013-10-11 18:25:19Z thomas $ # Maintainer: Thomas Bächler pkgname=v4l-utils pkgver=1.0.0 pkgrel=1 pkgdesc="Userspace tools and conversion library for Video 4 Linux" arch=('i686' 'x86_64' 'mips64el') url="http://freshmeat.net/projects/libv4l" provides=("libv4l=$pkgver") replaces=('libv4l') conflicts=('libv4l') backup=(etc/rc_maps.cfg) license=('LGPL') makedepends=('qt4') optdepends=('qt4') depends=('glibc' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo') source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2 http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2.asc) sha256sums=('1de3882099e04e89e354675ee408b82c8ac8afd3ca6ab27ea321771901285f30' 'SKIP') options=(!libtool) build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make } package() { cd "${srcdir}/${pkgname}-${pkgver}" MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/" rm "${pkgdir}/usr/bin/ivtv-ctl" }