diff options
author | Hezekiah Michael | 2022-10-20 20:37:11 -0400 |
---|---|---|
committer | Hezekiah Michael | 2022-10-20 20:37:11 -0400 |
commit | ebd38cd5f605ba6eeab85b8576ab1a56cbc8c935 (patch) | |
tree | d11dd673400088546e0feec6de5bcb7a27254bf8 | |
parent | 3040ca1a88991c9fb4267ae5a6c3d052cf14a14c (diff) | |
download | aur-neovim-candid-git.tar.gz |
fix error in packaging script
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | PKGBUILD | 5 |
3 files changed, 13 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = neovim-candid-git pkgver = r86.f7198b5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/flrnd/candid.vim arch = any license = MIT diff --git a/.gitignore b/.gitignore index e654861089b9..0e44e9b02105 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,10 @@ -pkg -src -neovim-candid -*.tar.xz +*.tar +*.tar.* +*.zip +*.tgz +*.log +*.log.* +*.sig +pkg/ +src/ +neovim-candid/ @@ -5,7 +5,7 @@ _pkgbase=neovim-candid pkgname=('neovim-candid-git' 'neovim-lightline-candid-git') pkgver=r86.f7198b5 -pkgrel=1 +pkgrel=2 arch=('any') url="https://github.com/flrnd/candid.vim" license=('MIT') @@ -30,8 +30,7 @@ package_neovim-candid-git() { find autoload/candid.vim colors \ -type f -exec install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/pack/candid.vim/start/candid.vim/{}" \; install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/${_pkgname}/" - which md2vim > /dev/null - if [[ $? == 0 ]]; then + if [ -x "$(command -v md2vim)" ];then md2vim README.md candid.txt install -Dm 644 candid.txt -t "$pkgdir/usr/share/nvim/runtime/doc/" rm candid.txt |