From e00a62df847b0965aa36f02529d47ae97be366d2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 4 Nov 2015 21:30:20 +0000
Subject: linuxtv-dvb-apps: update to 1505

---
 abs/extra/linuxtv-dvb-apps/PKGBUILD | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/abs/extra/linuxtv-dvb-apps/PKGBUILD b/abs/extra/linuxtv-dvb-apps/PKGBUILD
index 2414de4..9d5b090 100644
--- a/abs/extra/linuxtv-dvb-apps/PKGBUILD
+++ b/abs/extra/linuxtv-dvb-apps/PKGBUILD
@@ -1,32 +1,32 @@
-# $Id: PKGBUILD 80369 2012-11-21 04:04:30Z jconder $
+# $Id$
 # Maintainer: Jonathan Conder <jonno.conder@gmail.com>
 # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
 # Contributor: Camille Moncelier <pix@devlife.org>
 
 pkgname=linuxtv-dvb-apps
-pkgver=1486
-pkgrel=2
-_hgrev=3fc7dfa68484
-pkgdesc='Viewer programs for DVB cards'
+pkgver=1505
+pkgrel=1
+_hgrev=3d43b280298c
+pkgdesc='Linux DVB API applications and utilities'
 arch=('i686' 'x86_64')
 url='http://www.linuxtv.org/'
 license=('GPL')
+depends=('glibc')
 source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2")
-sha256sums=('60cfd45fe7417a4445a7814ce6e645ddaad0f8e934015c09d53eb93c8739b35a')
 
-build() {
+prepare() {
   cd "dvb-apps-$_hgrev"
-  rm -rf include
+}
 
-  make -C lib
-  make -C util
+build() {
+  cd "dvb-apps-$_hgrev"
+  make
 }
 
 package() {
   cd "dvb-apps-$_hgrev"
-
-  make -C lib DESTDIR="$pkgdir" install
-  make -C util DESTDIR="$pkgdir" install
-
-  chmod 755 "$pkgdir"/usr/lib/*.so*
+  make DESTDIR="$pkgdir" install
+  # Remove conflict with xbase (FS#37862)
+  mv "$pkgdir"/usr/bin/{zap,dvbzap}
 }
+md5sums=('e2cc2ca0c429f6cb73d0f73b29dd70e8')
-- 
cgit v0.12

