diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libhdhomerun/PKGBUILD | 77 |
1 files changed, 21 insertions, 56 deletions
diff --git a/abs/core/libhdhomerun/PKGBUILD b/abs/core/libhdhomerun/PKGBUILD index 052ca47..8c52362 100644 --- a/abs/core/libhdhomerun/PKGBUILD +++ b/abs/core/libhdhomerun/PKGBUILD @@ -1,66 +1,31 @@ -pkgname=libhdhomerun -pkgver=20120128 +# Mainainer: Ryan Corder <ryanc@greengrey.org> +# Contributor: Garrett Ward <glward1 at gmail dot com> + +pkgname=libhdhomerun +pkgver=20140121 pkgrel=1 -pkgdesc="utils and firmware needed for the hdhomerun" +pkgdesc="Library for interfacing with HDHomeRun device" arch=('i686' 'x86_64') -url="http://www.silicondust.com" -license=('GPL3') -#makedepends=('gtk2') -#optdepends=('gtk2: for using hdhomerun_config_gui') -replaces=('hdhomerun') -_firmware1=hdhomerun_atsc_firmware_${pkgver}.bin -_firmware2=hdhomerun_dvbt_firmware_${pkgver}.bin -_firmware3=hdhomerun3_atsc_firmware_${pkgver}.bin -_firmware4=hdhomerun3_dvbt_firmware_${pkgver}.bin -_firmware5=hdhomerun3_dvbtc_firmware_${pkgver}.bin -_firmware6=hdhomerun3_cablecard_firmware_${pkgver}.bin -_firmware7=hdhomerun_tech_atsc_firmware_${pkgver}.bin -_firmware8=hdhomerun3_tech_atsc_firmware_${pkgver}.bin -_firmware9=hdhomerun3_tech_dvbtc_firmware_${pkgver}.bin -_url2=http://download.silicondust.com/hdhomerun -source=("${_url2}/libhdhomerun_${pkgver}.tgz" - "${_url2}/${_firmware1}" - "${_url2}/${_firmware2}" - "${_url2}/${_firmware3}" - "${_url2}/${_firmware4}" - "${_url2}/${_firmware5}" - "${_url2}/${_firmware6}" - "${_url2}/${_firmware7}" - "${_url2}/${_firmware8}" - "${_url2}/${_firmware9}") - #"${_url2}/hdhomerun_config_gui_${pkgver}.tgz") +url="http://www.silicondust.com/downloads" +license=('LGPL') +source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz") +md5sums=('5411594931245c80597ad899eacc7541') +depends=('glibc') build() { - cd ${srcdir}/libhdhomerun - make || return 1 - #cd ${srcdir}/hdhomerun_config_gui - # ./configure --prefix=/usr || return 1 - # make || return 1 + cd "$srcdir/$pkgname" + + make } package() { - cd ${srcdir}/libhdhomerun - install -D -m755 libhdhomerun.so ${pkgdir}/usr/lib/libhdhomerun.so - install -D -m755 hdhomerun_config ${pkgdir}/usr/bin/hdhomerun_config - - # cd ${srcdir}/hdhomerun_config_gui - # make DESTDIR=${pkgdir} install || return 1 + cd "$srcdir/$pkgname" - cd ${srcdir} - install -d ${pkgdir}/lib/firmware + mkdir -m 0755 -p $pkgdir/usr/lib + mkdir -m 0755 -p $pkgdir/usr/bin + mkdir -m 0755 -p $pkgdir/usr/include/hdhomerun - for file in ${_firmware1} ${_firmware2} ${_firmware3} ${_firmware4} \ - ${_firmware5} ${_firmware6} ; do - install -D ${srcdir}/${file} ${pkgdir}/lib/firmware/ - done + 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 } -md5sums=('8b1c5c3b723f2e7b3d1b7599c1c1c1c8' - '441cc1915f5c38ef779e66f0198305be' - '90d027bdbee27af5bb4aef13ba361f91' - '8d303e61ce4a3ad57be980e2f27ad1f5' - '4f96d55d4a84f9edff730663bd836a3f' - '16d0a18e5971acf47a2d0d635b4c6c74' - 'e32423f02872d1ce6432cb7c24f7d41f' - 'cbe27be2dd94b59cc745c5112ef54912' - '469cac13aa65b9ac5a04a15b7d050893' - 'da478fce3260c8982dbcfb8cf3a46415') |