[arch-commits] Commit in v4l2ucp/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Dec 7 14:00:05 UTC 2017


    Date: Thursday, December 7, 2017 @ 14:00:04
  Author: dvzrv
Revision: 273054

upgpkg: v4l2ucp 2.0.2-4

Updating maintainer. Switching to https for source. Switching to sha512sums. Minor fixes.

Modified:
  v4l2ucp/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-07 13:59:36 UTC (rev 273053)
+++ PKGBUILD	2017-12-07 14:00:04 UTC (rev 273054)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
 # Contributor: Giovanni Scafora <linuxmania at gmail.com>
 
 pkgname=v4l2ucp
 pkgver=2.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A universal control panel for Video for Linux Two (V4L2) devices"
 arch=('x86_64')
 url="http://v4l2ucp.sourceforge.net/"
@@ -13,22 +14,22 @@
 depends=('qt4' 'v4l-utils')
 optdepends=('mplayer: video preview')
 makedepends=('cmake')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
-md5sums=('e5bc6e71e2cd3ab123c277b2f7154b4f')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('4c1e4e9fa5f8388a179632918edda2f5b84737370bf6eb67fe4b05215f0fc67f59df4749d7e86aa4da288da0eedf646978e0c84332054ec561a7c814b079fefc')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
   # use videodev2.h header
   sed -i 's/videodev/&2/' src/v4l2ctrl.c
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
   cmake . -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" install
 }



More information about the arch-commits mailing list