PKGBUILDs/aur/gmrender-resurrect-git/PKGBUILD

50 lines
1.3 KiB
Bash
Raw Normal View History

2013-06-16 15:04:28 +00:00
# Original Author: Henner Zeller <h.zeller at acm dot org>
2014-09-04 02:53:36 +00:00
# Maintainer: Florian Will <florian dot will at gmail dot com>
# Contributor: Drew DeVore <w.drew.devore at gmail dot com>
2013-06-16 15:04:28 +00:00
pkgname=gmrender-resurrect-git
_gitname=gmrender-resurrect
2015-08-31 00:38:44 +00:00
pkgver=277.aa3d02c
pkgrel=1
2013-06-16 15:04:28 +00:00
pkgdesc="Application to stream music from a UPnP server using gstreamer."
2014-09-04 02:53:36 +00:00
arch=('i686' 'x86_64')
2013-06-16 15:04:28 +00:00
url="https://github.com/hzeller/gmrender-resurrect"
2015-08-31 00:38:44 +00:00
license=('GPL')
2013-06-16 15:04:28 +00:00
conflicts=('gmediarender')
2014-09-04 02:53:36 +00:00
depends=('libupnp' 'gst-plugins-good' 'gst-plugins-base')
optdepends=(
'gst-libav: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-plugins-ugly: Extra media codecs'
)
makedepends=('git')
backup=('etc/conf.d/gmediarender')
2013-06-16 15:04:28 +00:00
install='gmrender-resurrect.install'
2014-09-04 02:53:36 +00:00
source=(
'git+https://github.com/hzeller/gmrender-resurrect.git'
'gmediarender.service'
'gmediarender')
2013-06-16 15:04:28 +00:00
md5sums=('SKIP'
2014-09-04 02:53:36 +00:00
'a3fa4bedc6e0853cf40b48c80269736f'
'979798ff9cac610930f13fb922ca95d4')
2013-06-16 15:04:28 +00:00
pkgver() {
cd $_gitname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd $_gitname
./autogen.sh
2014-09-04 02:53:36 +00:00
./configure --prefix=/usr/
2013-06-16 15:04:28 +00:00
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"
}