This repository has been archived on 2024-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
nginx-mod-rtmp/PKGBUILD

45 lines
1.1 KiB
Bash
Raw Normal View History

# Imported from AUR
# Maintainer: Jack L. Frost <fbt@fleshless.org>
#
# AUR credits:
2018-03-31 20:32:04 +00:00
# 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'
2018-03-31 20:32:04 +00:00
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"
"http://nginx.org/download/nginx-$_nginxver.tar.gz.asc"
"https://github.com/arut/$_modname/archive/v$pkgver.tar.gz"
2018-03-31 20:32:04 +00:00
)
sha256sums=('SKIP'
'SKIP'
'87aa597400b0b5a05274ee2d23d8cb8224e12686227a0abe31d783b3a645ea37')
validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8')
build() {
cd "$srcdir/nginx-$_nginxver"
2018-03-31 20:32:04 +00:00
./configure --with-compat --add-dynamic-module="../$_modname-$pkgver"
2018-03-31 20:32:04 +00:00
make modules
}
package() {
cd "$srcdir/nginx-$_nginxver/objs"
2018-03-31 20:32:04 +00:00
for mod in *.so; do
install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
2018-03-31 20:32:04 +00:00
done
}