diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1cb6ce2dead6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + +pkgname=vim-css3-git +pkgver=1.9.0.r12.g058c814 +pkgrel=1 +pkgdesc="CSS3 syntax support for Vim's built-in syntax/css.vim" +arch=('any') +url="https://github.com/hail2u/vim-css3-syntax" +license=('MIT') +groups=('vim-plugins') +depends=('vim-plugin-runtime') +makedepends=('git') +source=("$pkgname::git+$url") +sha256sums=('SKIP') + +pkgver() { + git -C "$pkgname" describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./' +} + +package() { + cd "$pkgname" + find after -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/vim/vimfiles/{}" \; + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +} |