42 lines
949 B
Bash
42 lines
949 B
Bash
# Imported from AUR
|
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
#
|
|
# AUR credits:
|
|
# Maintainer: Jakob Riepler <aur@chaosfield.at>
|
|
# Contributor: Trevor Bergeron <aur@sec.gd>
|
|
|
|
pkgname=nginx-mod-rtmp
|
|
pkgver=1.2.1
|
|
pkgrel=1
|
|
|
|
_nginxver=1.16.1
|
|
_modname='nginx-rtmp-module'
|
|
|
|
pkgdesc="Module for nginx that adds RTMP support"
|
|
arch=('i686' 'x86_64')
|
|
depends=('nginx')
|
|
url="https://github.com/arut/nginx-rtmp-module"
|
|
license=('BSD')
|
|
|
|
source=(
|
|
"http://nginx.org/download/nginx-$_nginxver.tar.gz"
|
|
"https://github.com/arut/$_modname/archive/v$pkgver.tar.gz"
|
|
)
|
|
sha256sums=('SKIP'
|
|
'87aa597400b0b5a05274ee2d23d8cb8224e12686227a0abe31d783b3a645ea37')
|
|
|
|
build() {
|
|
cd "$srcdir/nginx-$_nginxver"
|
|
|
|
./configure --with-compat --add-dynamic-module="../$_modname-$pkgver"
|
|
|
|
make modules
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/nginx-$_nginxver/objs"
|
|
for mod in *.so; do
|
|
install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
|
|
done
|
|
}
|