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

Thomas Bächler thomas at nymeria.archlinux.org
Sat Feb 9 14:53:30 UTC 2013


    Date: Saturday, February 9, 2013 @ 15:53:30
  Author: thomas
Revision: 177814

upgpkg: v4l-utils 0.9.3-1

Modified:
  v4l-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-09 14:32:39 UTC (rev 177813)
+++ PKGBUILD	2013-02-09 14:53:30 UTC (rev 177814)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 pkgname=v4l-utils
-pkgver=0.8.9
+pkgver=0.9.3
 pkgrel=1
 pkgdesc="Userspace tools and conversion library for Video 4 Linux"
 arch=('i686' 'x86_64')
@@ -9,27 +9,26 @@
 provides=("libv4l=$pkgver")
 replaces=('libv4l')
 conflicts=('libv4l')
+backup=(etc/rc_maps.cfg)
 license=('LGPL')
 makedepends=('qt')
 optdepends=('qt')
 depends=('glibc' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
 source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2
         http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2.asc)
+sha256sums=('502db0d865a392d87bff22c4f3bcfb3d0755937b1c18496edd941fd2d1784a3d'
+            '120388a92c3b720bd82e7617a908f3f7e1071d3b9075e9b537b7c60fc3575b08')
+options=(!libtool)
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
-
-  make PREFIX="/usr"
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make install PREFIX="/usr" DESTDIR="${pkgdir}/"
-  rm -f "${pkgdir}/usr/bin/ivtv-ctl"
-  mv "${pkgdir}/lib/udev" "${pkgdir}/usr/lib/"
-  rm -rf "${pkgdir}/lib"
+  MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
+  rm "${pkgdir}/usr/bin/ivtv-ctl"
 }
-md5sums=('cc4f34a1494275ed70f76f2a806dca6a'
-         'ae8f4ed2ca0c1e006cb8c69b5a2982f7')




More information about the arch-commits mailing list