# Original Author: Henner Zeller # Maintainer: Drew DeVore pkgname=gmrender-resurrect-git _gitname=gmrender-resurrect pkgver=275.61f5a8f pkgrel=1 pkgdesc="Application to stream music from a UPnP server using gstreamer." arch=('any') url="https://github.com/hzeller/gmrender-resurrect" license=('GPL2') conflicts=('gmediarender') depends=('gnome-icon-theme' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly') makedepends=('git' 'autoconf' 'automake' 'libtool' 'libxml2' 'libupnp') backup=(etc/conf.d/gmediarender) install='gmrender-resurrect.install' source=('git+https://github.com/hzeller/gmrender-resurrect.git' 'gmediarender.service' 'gmediarender') md5sums=('SKIP' 'd997492bfb6ccd46018a20ee20b79a39' '979798ff9cac610930f13fb922ca95d4' ) pkgver() { cd $_gitname echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd $_gitname ./autogen.sh ./configure make } package() { cd $_gitname make DESTDIR=$pkgdir install install -D -m 644 $srcdir/gmediarender.service "$pkgdir/usr/lib/systemd/system/gmediarender.service" install -D -m 644 $srcdir/gmediarender "$pkgdir/etc/conf.d/gmediarender" }