diff options
author | Shane Stone | 2020-04-29 18:16:03 -0700 |
---|---|---|
committer | Shane Stone | 2020-04-29 18:16:03 -0700 |
commit | e0926b574110e73dff0fc1fc2c2206ef897dc2a8 (patch) | |
tree | fa73204a4719fe5ab170d42bd967005ec5c9bab1 | |
parent | 45aaa04e81c8342bff839e44fa78878b5fb40dac (diff) | |
download | aur-e0926b574110e73dff0fc1fc2c2206ef897dc2a8.tar.gz |
Simplify PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -7,7 +7,7 @@ pkgbase = neovim-suda-opt-git license = MIT makedepends = git depends = neovim - source = git+https://github.com/lambdalisue/suda.vim.git + source = suda::git+https://github.com/lambdalisue/suda.vim.git sha256sums = SKIP pkgname = neovim-suda-opt-git @@ -1,6 +1,6 @@ pkgname=neovim-suda-opt-git _pkgname=suda -pkgver=20.5fb3266 +pkgver=63.585937e pkgrel=1 pkgdesc='An alternative to sudo.vim for (neo)vim.' arch=('any') @@ -8,13 +8,13 @@ url="https://github.com/lambdalisue/${_pkgname}.vim" license=('MIT') depends=('neovim') makedepends=('git') -source=("git+${url}.git") +source=("${_pkgname}::git+${url}.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}.vim" + cd "${srcdir}/${_pkgname}" echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" @@ -22,7 +22,7 @@ pkgver() { package() { - cd "${srcdir}/${_pkgname}.vim" + cd "${srcdir}/${_pkgname}" local _installpath="usr/local/share/nvim/site/pack/${_pkgname}/opt/${_pkgname}/" |