summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fcdb40aa43..d59ca6f89a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = vim-gnupg
pkgdesc = Plugin for transparent editing of gpg encrypted files
pkgver = 2.7.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.vim.org/scripts/script.php?script_id=3645
arch = any
groups = vim-plugins
license = GPL2
depends = vim
- source = gnupg.vim::https://www.vim.org/scripts/download_script.php?src_id=27359
+ source = gnupg.zip::https://www.vim.org/scripts/download_script.php?src_id=27359
sha256sums = 4c6731e3bbf00231096b9c09c38c517e22451eb408378e3206e70f601d75d56c
pkgname = vim-gnupg
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: