lets try now
This commit is contained in:
parent
b90cc64b87
commit
94230120ab
16
PKGBUILD
16
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Your New SJW Waifu <sjw@i.gotabig.wang>
|
# Maintainer: Your New SJW Waifu <sjw@i.gotabig.wang>
|
||||||
# Contributor: Your New SJW Waifu <sjw@i.gotabig.wang>
|
# Contributor: Your New SJW Waifu <sjw@i.gotabig.wang>
|
||||||
ngx_ver=1.18.0
|
|
||||||
pkgname=nginx-mod-enhance-mp4-git
|
pkgname=nginx-mod-enhance-mp4-git
|
||||||
pkgver=1.0
|
pkgver=1.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -8,25 +8,19 @@ pkgrel=1
|
||||||
pkgdesc='Places moov atom at beginning of mp4 file on-the-fly to improve streaming performance'
|
pkgdesc='Places moov atom at beginning of mp4 file on-the-fly to improve streaming performance'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
depends=('nginx')
|
depends=('nginx')
|
||||||
makedepends=('git')
|
makedepends=('nginx-src' 'git')
|
||||||
url="https://git.mentality.rip/sjw/ngx_http_enhance_mp4_module"
|
url="https://git.mentality.rip/sjw/ngx_http_enhance_mp4_module"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
|
||||||
source=(${pkgname}::git+https://git.mentality.rip/sjw/ngx_http_enhance_mp4_module.git
|
source=(${pkgname}::git+https://git.mentality.rip/sjw/ngx_http_enhance_mp4_module.git)
|
||||||
http://nginx.org/download/nginx-${ngx_ver}.tar.gz
|
|
||||||
)
|
|
||||||
sha512sums=(
|
|
||||||
'SKIP'
|
|
||||||
'8c21eeb62ab6e32e436932500f700bd2fb99fd2d29e43c08a5bfed4714c189c29c7141db551fcd5d2437303b7439f71758f7407dfd3e801e704e45e7daa78ddb'
|
|
||||||
)
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cp -r /usr/src/nginx .
|
cp -r /usr/src/nginx .
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/nginx-${_ngx_ver}"
|
cd "$srcdir"/nginx
|
||||||
./configure --with-compat --add-dynamic-module="${srcdir}/ngx_http_enhance_mp4_module"
|
./configure --with-compat --add-dynamic-module=../ngx_http_enhance_mp4_module
|
||||||
make modules
|
make modules
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue