summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorrevel2017-03-06 00:39:57 +0100
committerrevel2017-03-06 00:39:57 +0100
commit354d322cad76398a9b541fe63cfab747d0da7f6c (patch)
tree7552646f01811e2cd8b8ea8bf5fb0d6d9795bcee /PKGBUILD
parent3ed8162e6a9f5ecb2be6bb6f322404ec9bede72e (diff)
downloadaur-vim-colorsupport.tar.gz
- package cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0723bd5069b..8482f2f25f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,25 @@
pkgname=vim-colorsupport
pkgver=1.0.5
_scriptid=20938
-pkgrel=2
+pkgrel=3
pkgdesc='Use colorschemes written for gvim in color terminals'
arch=('any')
-url='http://www.vim.org/scripts/script.php?script_id=2682'
+#url='http://www.vim.org/scripts/script.php?script_id=2682'
+url='https://vim.sourceforge.io/scripts/script.php?script_id=2682'
license=('custom:vim')
depends=('vim')
groups=('vim-plugins')
-install=vimdoc.install
-source=('colorsupport.vim'::"http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")
-md5sums=('89070803208f3c156888ce6e2e3003dc')
-sha256sums=('a1f7db6f9ff21f2924ca025ecf195d3f09e24343572cbcea0300fba5dcd3c3a1')
+#source=("colorsupport.vim::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")
+source=("colorsupport.vim::https://vim.sourceforge.io/scripts/download_script.php?src_id=${_scriptid}"
+ 'license.txt')
+sha256sums=('a1f7db6f9ff21f2924ca025ecf195d3f09e24343572cbcea0300fba5dcd3c3a1'
+ '5f96d0bf57942212b6117ac4e6eb9b6ad704c1758511333dd5785cedf3281b8d')
package() {
- install -Dm644 "colorsupport.vim" "$pkgdir/usr/share/vim/vimfiles/plugin/colorsupport.vim"
+ cd "${srcdir}"
+
+ local installpath="${pkgdir}/usr/share/vim/vimfiles"
+
+ install -D -m644 "colorsupport.vim" "${installpath}/plugin/colorsupport.vim"
+ install -D -m644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}