diff options
-rw-r--r-- | linhes/libhdhomerun/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/linhes/libhdhomerun/PKGBUILD b/linhes/libhdhomerun/PKGBUILD new file mode 100644 index 0000000..917f2a8 --- /dev/null +++ b/linhes/libhdhomerun/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Louis Tim Larsen <louis(a)louis.dk>, Alex Mekkering <amekkering at gmail dot com> +# Contributor: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=libhdhomerun +pkgver=20220203 +pkgrel=1 +pkgdesc="Library and command line utility for interfacing with HDHomeRun device" +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="http://www.silicondust.com/downloads" +license=('LGPL') +optdepends=('hdhomerun-firmware-bin: firmware for hdhomerun devices' + 'hdhomerun_config_gui: hdhomerun configuration gui') + +source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz") +sha512sums=('b681903f45f601ad7c14f875f23663ad5d78ca089ca61cb4b32e18d3d0f98dae49efe2dea81afb4721e3dde46576fce0396363e955d41dcf3afe4a58c4e6cdc3') + +build() { + cd "$srcdir/$pkgname" + make +} + +package() { + cd "$srcdir/$pkgname" + + 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 +} |