diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | vimdoc.install | 14 |
3 files changed, 6 insertions, 22 deletions
@@ -1,12 +1,11 @@ # Generated by mksrcinfo v8 -# Mon Jul 11 01:48:55 UTC 2016 +# Wed Apr 19 01:36:40 UTC 2017 pkgbase = vim-committia-git pkgdesc = A Vim plugin for more pleasant editing of Git commit messages pkgver = r66.447fb27 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/rhysd/committia.vim - install = vimdoc.install arch = any groups = vim-plugins license = MIT @@ -3,7 +3,7 @@ pkgname=vim-committia-git pkgver=r66.447fb27 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc='A Vim plugin for more pleasant editing of Git commit messages' arch=('any') @@ -16,7 +16,6 @@ source=(${pkgname%-git}::git+https://github.com/rhysd/committia.vim) sha256sums=('SKIP') provides=('vim-committia') conflicts=('vim-committia') -install=vimdoc.install pkgver() { cd ${pkgname%-git} @@ -26,16 +25,16 @@ pkgver() { package() { cd ${pkgname%-git} - msg 'Installing documentation...' + # Installing documentation install -Dm 644 README.md "$pkgdir/usr/share/doc/vim-committia/README.md" - msg 'Installing appdirs...' + # Installing appdirs install -dm 755 "$pkgdir/usr/share/vim/vimfiles" for _appdir in autoload plugin; do cp -dpr --no-preserve=ownership $_appdir "$pkgdir/usr/share/vim/vimfiles/$_appdir" done - msg 'Cleaning up pkgdir...' + # Cleaning up pkgdir find "$pkgdir" -type d -name .git -exec rm -r '{}' + # Install licence diff --git a/vimdoc.install b/vimdoc.install deleted file mode 100644 index 73d0dc8818a5..000000000000 --- a/vimdoc.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - echo -n 'Updating vim help tags...' - /usr/bin/vim --noplugins -u NONE -U NONE \ - --cmd ':helptags /usr/share/vim/vimfiles/doc' --cmd ':q' > /dev/null 2>&1 - echo 'done.' -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |