archrelease: copy trunk to extra-x86_64
[arch-packages.git] / v4l-utils / repos / extra-x86_64 / PKGBUILD
blob1523e9e0e93169b4cdd35ebb1db14c368fdb3234
1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
2 pkgname=v4l-utils
3 pkgver=1.24.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=('cbb7fe8a6307f5ce533a05cded70bb93c3ba06395ab9b6d007eb53b75d805f5b'
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"