core/v4l-utils/PKGBUILD
2016-01-20 00:27:43 +01:00

32 lines
914 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/v4l-utils
pkgname=v4l-utils
# Caution: This package has a lib32 alternative, make sure to update that one as well
pkgver=1.8.1
pkgrel=1
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
arch=('x86_64')
url="http://linuxtv.org/"
provides=("libv4l=$pkgver")
replaces=('libv4l')
conflicts=('libv4l')
license=('LGPL')
makedepends=('qt')
optdepends=('qt')
depends=('glibc' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f86d0938e46fde821dc10d4d2f6636e4')
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"
}