diff options
author | Kevin Del Castillo | 2021-06-07 10:39:20 -0500 |
---|---|---|
committer | Kevin Del Castillo | 2021-06-07 10:39:20 -0500 |
commit | ea41558a80ecc50a7f7752037df917abc5a044c2 (patch) | |
tree | 2aee8538eb8579be54a7a608c51b6f8fcf1a7aac | |
parent | 65a4387d58c18172d3d03a6930ef08280cee7c0f (diff) | |
download | aur-ea41558a80ecc50a7f7752037df917abc5a044c2.tar.gz |
Add pkgver function
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ source=("$_pkgname-$pkgver.tar.gz::https://github.com/neovim/neovim/releases/dow sha512sums=(SKIP) install=neovim.install +pkgver() { + cd "${srcdir}/nvim-linux64" + ./bin/nvim --version | head -1 | awk '{ printf $2 }' | sed 's/-/+/g' +} + check() { cd "${srcdir}/nvim-linux64" ./bin/nvim --version |