diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8b2f0d62883 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sun Mar 4 14:58:16 UTC 2018 +pkgbase = vim-gtk-vim-syntax + pkgdesc = A collection of C extension syntax files for xlib, glib, gtk2/3 and related libraries. + pkgver = 20130716 + pkgrel = 1 + url = https://www.vim.org/scripts/script.php?script_id=1000 + arch = any + groups = vim-plugins + license = custom + depends = vim + source = gtk-vim-syntax.tar.gz::https://www.vim.org/scripts/download_script.php?src_id=20534 + sha256sums = 0ed92c98554083d05603f9b57b381e7c260e4b288ccedc17890304c8ad0ae1f6 + +pkgname = vim-gtk-vim-syntax + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..399358d62d79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Shengyu Zhang <la@archlinuxcn.org> + +_pkgname=gtk-vim-syntax +pkgname=vim-${_pkgname} +pkgver=20130716 +pkgrel=1 +pkgdesc='A collection of C extension syntax files for xlib, glib, gtk2/3 and related libraries.' +arch=('any') +url='https://www.vim.org/scripts/script.php?script_id=1000' +license=('custom') +depends=('vim') +groups=('vim-plugins') +source=("${_pkgname}.tar.gz::https://www.vim.org/scripts/download_script.php?src_id=20534") +sha256sums=('0ed92c98554083d05603f9b57b381e7c260e4b288ccedc17890304c8ad0ae1f6') + +package() { + cd "${srcdir}/${_pkgname}" + for f in *.vim; do + install -Dm644 "${f}" "${pkgdir}/usr/share/vim/vimfiles/after/syntax/${f}" + done + install -Dm644 "c.vim.example" "${pkgdir}/usr/share/vim/vimfiles/after/syntax/c.vim" +} + |