36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
pkgname=mumble-web-proxy
|
||
|
pkgver=0.1.1
|
||
|
_gittag=21bd9dc06509b045722b1e4edc14115c739d3f24
|
||
|
pkgrel=1
|
||
|
pkgdesc="mumble-web-proxy is a Mumble to WebSocket+WebRTC proxy"
|
||
|
arch='x86_64'
|
||
|
url="https://github.com/johni0702/mumble-web-proxy"
|
||
|
license='AGPL-3.0'
|
||
|
makedepends='rustup libnice-dev openssl-dev clang cargo'
|
||
|
source="
|
||
|
$pkgname-$_gittag.tar.gz::https://github.com/Johni0702/mumble-web-proxy/archive/$_gittag.tar.gz
|
||
|
mumble-web-proxy.initd
|
||
|
mumble-web-proxy.conf
|
||
|
fix-build.patch
|
||
|
"
|
||
|
builddir="$srcdir"/$pkgname-$_gittag
|
||
|
options="!check"
|
||
|
subpackages="$pkgname-openrc"
|
||
|
|
||
|
build() {
|
||
|
CARGO_HOME="$builddir"/cargo cargo build --release
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
install -Dm755 "$builddir"/target/release/mumble-web-proxy "$pkgdir"/usr/bin/mumble-web-proxy
|
||
|
install -Dm755 "$srcdir"/mumble-web-proxy.initd "$pkgdir"/etc/init.d/mumble-web-proxy
|
||
|
install -Dm644 "$srcdir"/mumble-web-proxy.conf "$pkgdir"/etc/mumble-web-proxy.conf
|
||
|
}
|
||
|
sha512sums="
|
||
|
c6b0aa5d355f90b4d57d3935b696f7a00421b9347f59e451bcc3c5fa8c1bcf28e328e109b17cbbfdea4430e7b52dfdf785ea188c77efc0c0727b20a045fb95ab mumble-web-proxy-21bd9dc06509b045722b1e4edc14115c739d3f24.tar.gz
|
||
|
ab470bd12df5a3c9b5d2526c27f8a7e2dc437fc2bfb943b9e98c975d87b2bfa5e7e906001cb66c6c26e505df17a5d335a556b52f534e973ef6b49b14b26468a5 mumble-web-proxy.initd
|
||
|
bbb197930295448c4cbb59b0ba9fbae75d5d2bd0868c96327840b00a69c7755831080a771d487348fe204d09636a95947aaea5d83714126032a38f8a5fce8bd3 mumble-web-proxy.conf
|
||
|
4520a3a745d2456f089bee2a6efc1a60e9f350765c059695806a83c68529e6d466d0756d26fc114a6fc4e8cd57e9f458704a53f0a69afa1edaf22e5176c66e82 fix-build.patch
|
||
|
"
|