Date: Sunday, August 18, 2013 @ 19:24:45 Author: speps Revision: 95913
addpkg: v4l2ucp 2.0.2-1 Added: v4l2ucp/ v4l2ucp/repos/ v4l2ucp/trunk/ v4l2ucp/trunk/PKGBUILD v4l2ucp/trunk/v4l2ucp.install -----------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ v4l2ucp.install | 11 +++++++++++ 2 files changed, 46 insertions(+) Added: v4l2ucp/trunk/PKGBUILD =================================================================== --- v4l2ucp/trunk/PKGBUILD (rev 0) +++ v4l2ucp/trunk/PKGBUILD 2013-08-18 17:24:45 UTC (rev 95913) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Giovanni Scafora <linuxma...@gmail.com> + +pkgname=v4l2ucp +pkgver=2.0.2 +pkgrel=1 +pkgdesc="A universal control panel for Video for Linux Two (V4L2) devices" +arch=('i686' 'x86_64') +url="http://v4l2ucp.sourceforge.net/" +license=('GPL') +depends=('qt4' 'v4l-utils') +optdepends=('mplayer: video preview') +makedepends=('cmake') +install=$pkgname.install +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('e5bc6e71e2cd3ab123c277b2f7154b4f') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + # use videodev2.h header + sed -i 's|\(videodev\)\.|\12\.|' src/v4l2ctrl.c +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} Property changes on: v4l2ucp/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: v4l2ucp/trunk/v4l2ucp.install =================================================================== --- v4l2ucp/trunk/v4l2ucp.install (rev 0) +++ v4l2ucp/trunk/v4l2ucp.install 2013-08-18 17:24:45 UTC (rev 95913) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}