mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/nginx update
This commit is contained in:
parent
423c79ef47
commit
8535ef5b82
1 changed files with 5 additions and 7 deletions
|
@ -90,13 +90,6 @@ package() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
install -Dm644 contrib/vim/ftdetect/nginx.vim \
|
|
||||||
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/nginx.vim
|
|
||||||
install -Dm644 contrib/vim/syntax/nginx.vim \
|
|
||||||
"$pkgdir"/usr/share/vim/vimfiles/syntax/nginx.vim
|
|
||||||
install -Dm644 contrib/vim/indent/nginx.vim \
|
|
||||||
"$pkgdir"/usr/share/vim/vimfiles/indent/nginx.vim
|
|
||||||
|
|
||||||
sed -e 's|\<user\s\+\w\+;|user html;|g' \
|
sed -e 's|\<user\s\+\w\+;|user html;|g' \
|
||||||
-e '44s|html|/usr/share/nginx/html|' \
|
-e '44s|html|/usr/share/nginx/html|' \
|
||||||
-e '54s|html|/usr/share/nginx/html|' \
|
-e '54s|html|/usr/share/nginx/html|' \
|
||||||
|
@ -121,6 +114,11 @@ package() {
|
||||||
|
|
||||||
install -d "$pkgdir"/usr/share/man/man8/
|
install -d "$pkgdir"/usr/share/man/man8/
|
||||||
gzip -9c man/nginx.8 > "$pkgdir"/usr/share/man/man8/nginx.8.gz
|
gzip -9c man/nginx.8 > "$pkgdir"/usr/share/man/man8/nginx.8.gz
|
||||||
|
|
||||||
|
for i in ftdetect indent syntax; do
|
||||||
|
install -Dm644 contrib/vim/${i}/nginx.vim \
|
||||||
|
"${pkgdir}/usr/share/vim/vimfiles/${i}/nginx.vim"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
Loading…
Reference in a new issue