Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created September 13, 2021 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graysky2/1a3b39da04ee457c00c19f4e054e34f5 to your computer and use it in GitHub Desktop.
Save graysky2/1a3b39da04ee457c00c19f4e054e34f5 to your computer and use it in GitHub Desktop.
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributer: graysky <graysky AT archlnux DOT us>
pkgname=vim-systemd
pkgver=20200807
pkgrel=1
pkgdesc="ViM syntax highlighting for systemd unit files"
arch=(any)
url="https://github.com/wgwoods/vim-systemd-syntax"
license=('unknown')
depends=('vim')
_commit=2f788c627efa7a50baa5766cfacf1852528eca28
source=("$pkgname-$pkgver.tar.gz::https://github.com/wgwoods/vim-systemd-syntax/archive/$_commit.tar.gz")
md5sums=('010bd09f79ab0aa6533a5c3073f9e13c')
package () {
cd vim-systemd-syntax-$_commit
install -Dm0644 ftdetect/systemd.vim "$pkgdir"/usr/share/vim/vimfiles/ftdetect/systemd.vim
install -Dm0644 ftplugin/systemd.vim "$pkgdir"/usr/share/vim/vimfiles/ftplugin/systemd.vim
install -Dm0644 syntax/systemd.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/systemd.vim
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment