janus-gateway: config install fixed upstream

This commit is contained in:
Maurizio Porrato 2014-12-22 20:37:56 +00:00
parent 144dbb2789
commit 29ea03827a
2 changed files with 4 additions and 21 deletions

View File

@ -1,8 +1,8 @@
# Maintainer: Maurizio Porrato <maurizio.porrato@gmail.com>
pkgname=janus-gateway-git
pkgver=0.0.6.r87.g0881acc
pkgrel=2
pkgver=0.0.6.r90.g591ef3e
pkgrel=1
pkgdesc="WebRTC gateway."
arch=('i686' 'x86_64')
url="http://janus.conf.meetecho.com/"
@ -13,10 +13,8 @@ provides=(janus-gateway)
backup=('etc/janus/janus.cfg')
install=janus-gateway-git.install
source=('git+https://github.com/meetecho/janus-gateway.git'
'install-conf.patch')
md5sums=('SKIP'
'17955203b7d06f5c887638e621d7b3c1')
source=('git+https://github.com/meetecho/janus-gateway.git')
md5sums=('SKIP')
_gitname="janus-gateway"
pkgver() {
@ -24,11 +22,6 @@ pkgver() {
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
}
prepare() {
cd "$srcdir/${_gitname}"
patch < "$startdir/install-conf.patch"
}
build() {
cd "$srcdir/${_gitname}"
./autogen.sh

View File

@ -1,10 +0,0 @@
--- Makefile.am.upstream 2014-12-21 12:31:15.401000516 +0000
+++ Makefile.am 2014-12-21 12:34:24.689975050 +0000
@@ -264,5 +264,5 @@
##
configs:
- $(MKDIR_P) $(confdir)
- $(foreach config,$(conf_DATA),cp "$(CURDIR)/$(config)" "$(confdir)/$(notdir $(basename $(config) .sample))";)
+ $(MKDIR_P) $(DESTDIR)$(confdir)
+ $(foreach config,$(conf_DATA),cp "$(CURDIR)/$(config)" "$(DESTDIR)$(confdir)/$(notdir $(basename $(config) .sample))";)