diff options
author | Márton Szabó | 2017-09-21 12:42:00 +0200 |
---|---|---|
committer | Márton Szabó | 2017-09-21 12:42:00 +0200 |
commit | 404172c0b7f620db21d91f5f56079f1e029032e9 (patch) | |
tree | 4d4ccc69aee2d65c0cd23f2c56fd75dbc7773498 | |
download | aur-404172c0b7f620db21d91f5f56079f1e029032e9.tar.gz |
r148.dd5470e
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..99a9fface12d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = neovim-crystal-git + pkgdesc = Neovim filetype and tools support for Crystal language. + pkgver = r148.dd5470e + pkgrel = 1 + url = https://github.com/rhysd/vim-crystal + arch = any + license = MIT + makedepends = git + depends = neovim + provides = nvim-crystal + conflicts = nvim-crystal + source = nvim-crystal::git+https://github.com/rhysd/vim-crystal.git + md5sums = SKIP + +pkgname = neovim-crystal-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0a702fcaa721 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Márton Szabó <notramo@vipmail.hu> + +pkgname='neovim-crystal-git' +pkgver=r148.dd5470e +pkgrel=1 +pkgdesc="Neovim filetype and tools support for Crystal language." +arch=('any') +url="https://github.com/rhysd/vim-crystal" +license=('MIT') +depends=('neovim') +makedepends=('git') +provides=('nvim-crystal') +conflicts=('nvim-crystal') +source=('nvim-crystal::git+https://github.com/rhysd/vim-crystal.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/nvim-crystal" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/nvim-crystal" + install -d "$pkgdir/usr/share/nvim/runtime/" + cp -r 'autoload' 'ftdetect' 'ftplugin' 'indent' 'plugin' 'syntax' "$pkgdir/usr/share/nvim/runtime" +} |