archrelease: copy trunk to extra-x86_64
[arch-packages.git] / v4l-utils / trunk / PKGBUILD
blob082dfbef5ab9b6d3594caa0f054bdef46492e062
1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
2 pkgname=v4l-utils
3 pkgver=1.22.1
4 pkgrel=1
5 pkgdesc="Userspace tools and conversion library for Video 4 Linux"
6 arch=('x86_64')
7 url="https://linuxtv.org/"
8 provides=("libv4l=$pkgver")
9 replaces=('libv4l')
10 conflicts=('libv4l')
11 backup=(etc/rc_maps.cfg)
12 license=('LGPL')
13 makedepends=('qt5-base' 'alsa-lib')
14 optdepends=('qt5-base: for qv4l2' 'alsa-lib: for qv4l2')
15 depends=('hicolor-icon-theme' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
16 source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
17 sha256sums=('65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31'
18             'SKIP')
19 validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
21 build() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
24   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
25   make
28 package() {
29   cd "${srcdir}/${pkgname}-${pkgver}"
30   MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
31   rm "${pkgdir}/usr/bin/ivtv-ctl"