summaryrefslogtreecommitdiff
path: root/community/mediaproxy/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-16 22:03:54 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-16 22:03:54 +0100
commitd503056ff0810f0e9a4d7430dd9a99ef666240d9 (patch)
treece61331f893f95b1d3ae90eb3ea8e00adf2aa546 /community/mediaproxy/PKGBUILD
parent0f2c3b17c081339b0c78fc54aa64a13a6b7e7c6e (diff)
parent99c34471cedb5de3afae4e33c48239abbe1410c7 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk-engine-unico/PKGBUILD community/libfm/PKGBUILD community/lxlauncher/PKGBUILD community/lxpanel/PKGBUILD community/ncmpcpp/PKGBUILD community/sshguard/PKGBUILD
Diffstat (limited to 'community/mediaproxy/PKGBUILD')
-rw-r--r--community/mediaproxy/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/mediaproxy/PKGBUILD b/community/mediaproxy/PKGBUILD
index 7a3096254..4b7cb8f4f 100644
--- a/community/mediaproxy/PKGBUILD
+++ b/community/mediaproxy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78383 2012-10-17 15:54:17Z spupykin $
+# $Id: PKGBUILD 80024 2012-11-15 14:41:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
pkgname=mediaproxy
pkgver=2.5.2
-pkgrel=3
+pkgrel=4
pkgdesc="Open-source media proxy for OpenSER"
url="http://mediaproxy.ag-projects.com/"
arch=('i686' 'x86_64' 'mips64el')
@@ -25,8 +25,12 @@ md5sums=('840de8f52e656991be728c15ec30bb5e'
build() {
cd $srcdir/mediaproxy-$pkgver
- install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy
+
+ sed -i "s|libraries = get_link_libraries(),|libraries = ['netfilter_conntrack', 'ip4tc'],|g" setup.py
+
python2 setup.py install --root=$pkgdir
+
+ install -D -m0755 $srcdir/mediaproxy.init $pkgdir/etc/rc.d/mediaproxy
install -Dm0644 $srcdir/$pkgname-dispatcher.service $pkgdir/usr/lib/systemd/system/$pkgname-dispatcher.service
install -Dm0644 $srcdir/$pkgname-relay.service $pkgdir/usr/lib/systemd/system/$pkgname-relay.service
install -Dm0644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf