diff options
author | Shane Stone | 2020-04-29 18:18:51 -0700 |
---|---|---|
committer | Shane Stone | 2020-04-29 18:18:51 -0700 |
commit | 0c9a7db73a0ae94445d032f7ce22ad5732b2d44f (patch) | |
tree | 6e14852916c986eb4cfed172e75d170159c90455 /PKGBUILD | |
parent | 2bb75c4ff833d42526093cc3c38b22dae06214d4 (diff) | |
download | aur-neovim-lion-opt-git.tar.gz |
Simplify PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,13 +8,13 @@ url="https://github.com/tommcdo/vim-${_pkgname}" license=('custom:vim') depends=('neovim') makedepends=('git') -source=("git+${url}.git") +source=("${_pkgname}::git+${url}.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/vim-${_pkgname}" + cd "${srcdir}/${_pkgname}" echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" @@ -22,7 +22,7 @@ pkgver() { package() { - cd "${srcdir}/vim-${_pkgname}" + cd "${srcdir}/${_pkgname}" local _installpath="usr/local/share/nvim/site/pack/${_pkgname}/opt/${_pkgname}/" |