summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSven-Hendrik Haase2020-07-14 01:18:02 +0200
committerSven-Hendrik Haase2020-07-14 01:18:27 +0200
commitcd601cb38d07d9bac344ef924fdd8b278e71c915 (patch)
tree3a97cc26a100d8ae2a3d98009f55e4af81589d2a /PKGBUILD
downloadaur-vim-colorsamplerpack.tar.gz
Moved from [community]
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..99c5446597a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+
+pkgname=vim-colorsamplerpack
+pkgver=2012.10.28
+pkgrel=6
+_scriptid=18915
+pkgdesc="Different colorschemes for vim"
+arch=('any')
+url="http://www.vim.org/scripts/script.php?script_id=625"
+license=('GPL2' 'GPL3' 'custom')
+depends=('vim')
+makedepends=('unzip')
+groups=('vim-plugins')
+source=(ColorSamplerPack.zip::"https://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
+ 'LICENSE')
+sha256sums=('2d0b07a36fa52728f45850933a35ab6172913262fb3aaa2cb32e597cf75859f3'
+ '6d9e25d62ca66835eb24209c8e7ef973932165f65e96f615639027418ab6742d')
+
+build() {
+ cd ${srcdir}/colors
+ # This already exist... we can't update it 8(
+ rm torte.vim desert.vim molokai.vim jellybeans.vim
+}
+
+package() {
+ cd ${srcdir}
+ installpath="${pkgdir}/usr/share/vim/vimfiles"
+ install -Dm 644 colors/* -t "${installpath}/colors"
+ install -Dm 644 plugin/color_sample_pack.vim "${installpath}/plugin/themes.vim"
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}