summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMikhail f. Shiryaev2021-06-18 20:30:18 +0200
committerMikhail f. Shiryaev2021-06-18 20:30:18 +0200
commitadd42a318fb588f8bc05266df581abb652f13dda (patch)
tree42fca458aae122a6ea5f197ec6510f5072e3d763 /PKGBUILD
parentb910d1749481c276080119660f67a177c1bb0dcd (diff)
downloadaur-vim-gnupg.tar.gz
Fix installation
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: