SHARE
TWEET

libhdhomerun PKGBUILD

a guest May 8th, 2012 64 Never
  1. # Contributor: Garrett Ward <glward1 at gmail dot com>
  2. # Mainainer: Ryan Corder <ryanc@greengrey.org>
  3.  
  4. pkgname=libhdhomerun
  5. pkgver=20120405
  6. pkgrel=1
  7. pkgdesc="Library for interfacing with HDHomeRun device"
  8. arch=('i686' 'x86_64')
  9. url="http://www.silicondust.com/downloads/"
  10. license=('LGPL')
  11. source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz")
  12. md5sums=('4036d144c726d82b10986533de8c619d')
  13.  
  14. build() {
  15.   cd $startdir/src/$pkgname
  16.  
  17.   make || return 1
  18.  
  19.   mkdir -m 0755 -p $startdir/pkg/usr/lib || return 1
  20.   mkdir -m 0755 -p $startdir/pkg/usr/bin || return 1
  21.  
  22.   install -m 755 libhdhomerun.so $startdir/pkg/usr/lib/libhdhomerun.so || return 1
  23.   install -m 755 hdhomerun_config $startdir/pkg/usr/bin/hdhomerun_config || return 1
  24. }
RAW Paste Data
Top