summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 62f1f37db92..c0b5eaf835c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,18 +6,19 @@
_name=gnupg
pkgname=vim-${_name}
pkgver=2.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="Plugin for transparent editing of gpg encrypted files"
arch=('any')
url="http://www.vim.org/scripts/script.php?script_id=3645"
license=('GPL2')
groups=('vim-plugins')
depends=('vim')
-source=("${_name}.vim::https://www.vim.org/scripts/download_script.php?src_id=27359")
+source=("${_name}.zip::https://www.vim.org/scripts/download_script.php?src_id=27359")
sha256sums=('4c6731e3bbf00231096b9c09c38c517e22451eb408378e3206e70f601d75d56c')
package() {
- install -Dm644 "${srcdir}/${_name}.vim" "${pkgdir}/usr/share/vim/vimfiles/plugin/${_name}.vim"
+ mkdir -p "${pkgdir}/usr/share/vim/vimfiles/plugin"
+ cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/usr/share/vim/vimfiles/plugin"
}
# vim:set ts=2 sw=2 et: