diff options
author | Damien Tardy-Panis | 2024-03-15 22:21:46 +0100 |
---|---|---|
committer | Damien Tardy-Panis | 2024-03-15 22:21:46 +0100 |
commit | cc6790e1bc5cf00f87ddafec78b96f32602cb118 (patch) | |
tree | abf3eea17d494352fc0e911156d3007c0cdf6f52 /PKGBUILD | |
parent | 5d97d7ac2ba8f091d2639fa1bbdecc5e75247dc5 (diff) | |
download | aur-neovim-cmp-buffer-git.tar.gz |
Cleanup build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 29 insertions, 17 deletions
@@ -1,27 +1,39 @@ -# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> - pkgname=neovim-cmp-buffer-git -pkgver=r13.5dde543 +pkgver=r53.3022dbc pkgrel=1 pkgdesc="neovim-cmp source for buffer words" arch=('any') url="https://github.com/hrsh7th/cmp-buffer" -license=('custom:unknown') -groups=('neovim-plugin') -depends=('neovim-cmp') -makedepends=('git') -provides=("${pkgname%-git}") -conflicts=("${pkgname%-git}") -install=cmp-buffer.install -source=("$pkgname::git+$url") -md5sums=('SKIP') +license=('MIT') + +groups=( + 'neovim-plugins' +) + +makedepends=( + 'git' +) + +source=( + "git+https://github.com/hrsh7th/cmp-buffer.git" +) + +sha512sums=( + 'SKIP' +) pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd cmp-buffer + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + package() { - cd "$pkgname" - find after lua -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/nvim/runtime/pack/dist/start/$pkgname/{}" \; - install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" + depends+=( + 'neovim' + ) + + cd cmp-buffer + find after lua -type f -exec install -D -m644 '{}' "$pkgdir/usr/share/nvim/site/pack/dist/start/${pkgname}/{}" \; + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } |