summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Gryzinski2020-03-21 23:23:01 -0300
committerRodrigo Gryzinski2020-03-21 23:23:01 -0300
commitf2520e5d56a3aba3299ce386ad761e81faf6b0e5 (patch)
tree327a9821e4fbc8c18235bd9cda787a98d6bfc6c9
parent0aaa40b4e11ff723c22887dbf4aa2ba8c0473671 (diff)
downloadaur-asyncomplete.vim.tar.gz
Improve PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 347b59232b7..39a73ff09c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = asyncomplete.vim
pkgdesc = async completion in pure vim script for vim8 and neovim
pkgver = 2.0.0
- pkgrel = 1
+ pkgrel = 3
url = https://github.com/prabirshrestha/asyncomplete.vim
arch = any
groups = vim-plugins
diff --git a/PKGBUILD b/PKGBUILD
index 4db83d2af6e..f9f94947df9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=asyncomplete.vim
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="async completion in pure vim script for vim8 and neovim"
arch=('any')
url="https://github.com/prabirshrestha/asyncomplete.vim"
@@ -18,11 +18,11 @@ sha512sums=('9229902712c34a246e3c711154d7e04a153c7b7e307d399ee363f5a06d9bf07d40f
package() {
VIMFILES=$pkgdir/usr/share/vim/vimfiles
+ install -d "$VIMFILES"
+
cd ${srcdir}/${pkgname}-${pkgver}
- mkdir -p $VIMFILES
install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
- for dir in autoload doc plugin; do
- cp -r "$dir" $VIMFILES
- chmod 755 -R $VIMFILES/$dir
- done
+ cp -drr --no-preserve=ownership autoload $VIMFILES
+ cp -drr --no-preserve=ownership doc $VIMFILES
+ cp -drr --no-preserve=ownership plugin $VIMFILES
}