From 71ce5ad3d9305652a2215d2361346c9584ee4d0c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 11 May 2016 19:25:05 +0000
Subject: libhdhomerun: update to 20150826

---
 abs/core/libhdhomerun/PKGBUILD | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/abs/core/libhdhomerun/PKGBUILD b/abs/core/libhdhomerun/PKGBUILD
index 8c52362..dda33ad 100644
--- a/abs/core/libhdhomerun/PKGBUILD
+++ b/abs/core/libhdhomerun/PKGBUILD
@@ -1,31 +1,27 @@
-# Mainainer: Ryan Corder <ryanc@greengrey.org>
-# Contributor: Garrett Ward <glward1 at gmail dot com>
+# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
 
 pkgname=libhdhomerun
-pkgver=20140121
+pkgver=20150826
 pkgrel=1
-pkgdesc="Library for interfacing with HDHomeRun device"
-arch=('i686' 'x86_64')
+pkgdesc="Library and command line utility for interfacing with HDHomeRun device"
+arch=('any')
 url="http://www.silicondust.com/downloads"
 license=('LGPL')
 source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz")
-md5sums=('5411594931245c80597ad899eacc7541')
+md5sums=('05f9a9e1fc8f6ec004b399034775cab0')
 depends=('glibc')
+optdepends=('hdhomerun-firmware-bin: firmware for hdhomerun devices'
+'hdhomerun_config_gui: hdhomerun configuration gui')
 
 build() {
   cd "$srcdir/$pkgname"
-
   make
 }
 
 package() {
   cd "$srcdir/$pkgname"
 
-  mkdir -m 0755 -p $pkgdir/usr/lib
-  mkdir -m 0755 -p $pkgdir/usr/bin
-  mkdir -m 0755 -p $pkgdir/usr/include/hdhomerun
-
-  install -m 644 *.h $pkgdir/usr/include/hdhomerun/
-  install -m 755 libhdhomerun.so $pkgdir/usr/lib/libhdhomerun.so
-  install -m 755 hdhomerun_config $pkgdir/usr/bin/hdhomerun_config
+  install -D -m 644 *.h -t $pkgdir/usr/include/libhdhomerun/
+  install -D -m 755 libhdhomerun.so $pkgdir/usr/lib/libhdhomerun.so
+  install -D -m 755 hdhomerun_config $pkgdir/usr/bin/hdhomerun_config
 }
-- 
cgit v0.12

