[arch-commits] Commit in nginx/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Aug 7 09:25:54 UTC 2014


    Date: Thursday, August 7, 2014 @ 11:25:54
  Author: bpiotrowski
Revision: 219389

upgpkg: nginx 1.6.1-2

include vim syntax files

Modified:
  nginx/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-07 09:25:14 UTC (rev 219388)
+++ PKGBUILD	2014-08-07 09:25:54 UTC (rev 219389)
@@ -7,7 +7,7 @@
 
 pkgname=nginx
 pkgver=1.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
 arch=('i686' 'x86_64')
 url='http://nginx.org'
@@ -33,6 +33,7 @@
 
 build() {
   cd $pkgname-$pkgver
+
   ./configure \
     --prefix=/etc/nginx \
     --conf-path=/etc/nginx/nginx.conf \
@@ -74,6 +75,13 @@
   cd $pkgname-$pkgver
   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' \
     -e '44s|html|/usr/share/nginx/html|' \
     -e '54s|html|/usr/share/nginx/html|' \




More information about the arch-commits mailing list