summaryrefslogtreecommitdiffstats
path: root/abs/core/libhdhomerun/PKGBUILD
blob: 8c523622eef4e4e74ff0ef78c16136a33690d42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Mainainer: Ryan Corder <ryanc@greengrey.org>
# Contributor: Garrett Ward <glward1 at gmail dot com>

pkgname=libhdhomerun
pkgver=20140121
pkgrel=1
pkgdesc="Library for interfacing with HDHomeRun device"
arch=('i686' 'x86_64')
url="http://www.silicondust.com/downloads"
license=('LGPL')
source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz")
md5sums=('5411594931245c80597ad899eacc7541')
depends=('glibc')

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
}