Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for libhdhomerun

By: a guest on May 27th, 2013  |  syntax: Bash  |  size: 0.82 KB  |  views: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Garrett Ward <glward1 at gmail dot com>
  2. # Mainainer: Ryan Corder <ryanc@greengrey.org>
  3.  
  4. pkgname=libhdhomerun
  5. pkgver=20130328
  6. pkgrel=3
  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=('cf4d2b94a2dae07516fc84c8d5ae0c8b')
  13. depends=('glibc')
  14.  
  15. build() {
  16.   cd "$srcdir/$pkgname"
  17.   make
  18. }
  19.  
  20. package() {
  21.   cd "$srcdir/$pkgname"
  22.   mkdir -m 0755 -p $pkgdir/usr/lib
  23.   mkdir -m 0755 -p $pkgdir/usr/bin
  24.   mkdir -m 0755 -p $pkgdir/usr/include/hdhomerun
  25.   install -m 644 *.h $pkgdir/usr/include/hdhomerun/
  26.   install -m 755 libhdhomerun.so $pkgdir/usr/lib/libhdhomerun.so
  27.   install -m 755 hdhomerun_config $pkgdir/usr/bin/hdhomerun_config
  28. }
clone this paste RAW Paste Data