diff options
author | Shane Stone | 2020-04-29 18:11:53 -0700 |
---|---|---|
committer | Shane Stone | 2020-04-29 18:11:53 -0700 |
commit | c7e921909010a1bbc551e32cb6e5f4ffd8a23e84 (patch) | |
tree | 6165fbaaea15e1aac962a65eb2b2f4feaf8424b2 | |
parent | 6c7d8c683280f703d7092c8304ea884569dd03cd (diff) | |
download | aur-c7e921909010a1bbc551e32cb6e5f4ffd8a23e84.tar.gz |
Simplify PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,13 +1,13 @@ pkgbase = neovim-swap-opt-git pkgdesc = Reorder delimited items. - pkgver = 175.be23eac + pkgver = 215.e52ff67 pkgrel = 1 url = https://github.com/machakann/vim-swap arch = any license = custom:vim makedepends = git depends = neovim - source = git+https://github.com/machakann/vim-swap.git + source = swap::git+https://github.com/machakann/vim-swap.git sha256sums = SKIP pkgname = neovim-swap-opt-git @@ -8,13 +8,13 @@ url="https://github.com/machakann/vim-swap" 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}/" |