# $Id: PKGBUILD 42603 2009-06-16 21:08:01Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Andrea Scarpino pkgname=ivtv-utils pkgver=1.4.0 pkgrel=2 pkgdesc="Userspace utilities for Hauppauge PVR cards" arch=('i686' 'x86_64') license=('GPL') url="http://ivtvdriver.org" source=(http://dl.ivtvdriver.org/ivtv/stable/$pkgname-$pkgver.tar.gz http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz) depends=('gcc-libs') md5sums=('13deb3fe973b175a115285e63f668b95' 'b9a871f1c569025be9c48a77b3515faf') build() { cd "${srcdir}/${pkgname}-${pkgver}" make || return 1 make DESTDIR="${pkgdir}" PREFIX=/usr install || return 1 cd ${srcdir} || return 1 for file in `ls *.fw` v4l-cx2341x-init.mpg; do install -D -m644 $file "${pkgdir}/lib/firmware/$file" || return 1 done # FS#15133 - files already provided by the kernel-headers package rm -rf ${pkgdir}/usr/include }