From af3592fa6f87fcc16176844e865f93cc394ee3ad Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 11 Feb 2016 17:59:32 +0000
Subject: ivtv-utils: update to 1.4.1-7

---
 abs/core/ivtv-utils/PKGBUILD           | 17 +++++++++--------
 abs/core/ivtv-utils/ivtv-utils.install | 31 -------------------------------
 2 files changed, 9 insertions(+), 39 deletions(-)
 delete mode 100644 abs/core/ivtv-utils/ivtv-utils.install

diff --git a/abs/core/ivtv-utils/PKGBUILD b/abs/core/ivtv-utils/PKGBUILD
index b92f274..b801f8b 100644
--- a/abs/core/ivtv-utils/PKGBUILD
+++ b/abs/core/ivtv-utils/PKGBUILD
@@ -1,24 +1,25 @@
-# $Id: PKGBUILD 89079 2010-08-29 10:28:03Z thomas $
+# $Id$
 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=ivtv-utils
 pkgver=1.4.1
-pkgrel=3
+pkgrel=7
 pkgdesc="Userspace utilities for Hauppauge PVR cards"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://ivtvdriver.org"
-source=(http://dl.ivtvdriver.org/ivtv/stable/${pkgname}-${pkgver}.tar.gz
-        http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz)
+# source=("http://dl.ivtvdriver.org/ivtv/stable/${pkgname}-${pkgver}.tar.gz"
+#         "http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz")
+source=("http://http.debian.net/debian/pool/contrib/i/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"
+        "http://pkgs.fedoraproject.org/repo/pkgs/ivtv-firmware/ivtv-firmware-20080701.tar.gz/b9a871f1c569025be9c48a77b3515faf/ivtv-firmware-20080701.tar.gz")
 depends=('gcc-libs')
-install=ivtv-utils.install
 md5sums=('3a4219d698262ca2b28e41f0f547b0a2'
          'b9a871f1c569025be9c48a77b3515faf')
  
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make || return 1
+  make
 }
 
 package() {
@@ -27,7 +28,7 @@ package() {
 
   cd "${srcdir}"
   for file in v4l-cx2341x-dec.fw  v4l-cx2341x-enc.fw v4l-pvrusb2-24xxx-01.fw  v4l-pvrusb2-29xxx-01.fw v4l-cx2341x-init.mpg; do
-    install -D -m644 $file "${pkgdir}/lib/firmware/$file"
+    install -D -m644 $file "${pkgdir}/usr/lib/firmware/$file"
   done
 
   # FS#15133 - files already provided by the kernel-headers package
diff --git a/abs/core/ivtv-utils/ivtv-utils.install b/abs/core/ivtv-utils/ivtv-utils.install
deleted file mode 100644
index 4966d4a..0000000
--- a/abs/core/ivtv-utils/ivtv-utils.install
+++ /dev/null
@@ -1,31 +0,0 @@
-pre_install() {
-	/bin/true
-}
-
-post_install() {
-  # updating module dependencies
-  echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ARCH
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1
-  /bin/true
-}
-
-post_upgrade() {
-  # updating module dependencies
-  echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ARCH
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1
-  /bin/true
-}
-
-post_remove() {
-  # updating module dependencies
-  echo ">>> Updating module dependencies. Please wait ..."
-  KERNEL_VERSION=2.6.22-ARCH
-  depmod -v $KERNEL_VERSION > /dev/null 2>&1
-  /bin/true
-}
-
-op=$1
-shift
-$op $*
-- 
cgit v0.12