mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Original Author: Henner Zeller <h.zeller at acm dot org>
|
|
# Maintainer: Drew DeVore <w.drew.devore at gmail dot com>
|
|
|
|
pkgname=gmrender-resurrect-git
|
|
_gitname=gmrender-resurrect
|
|
pkgver=260.6d66c7b
|
|
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"
|
|
}
|