diff options
author | Achmad Fathoni | 2021-05-31 23:15:04 +0700 |
---|---|---|
committer | Achmad Fathoni | 2021-05-31 23:15:04 +0700 |
commit | ecca74b8da5840ed5fabb58c5c474a16d75d2274 (patch) | |
tree | 9b773c5e53c6153df9f8e96fa4d4f6bef630d44e | |
parent | 9046b19319b148296587e84d63f173db5f58b8b9 (diff) | |
download | aur-ecca74b8da5840ed5fabb58c5c474a16d75d2274.tar.gz |
Update install destination to match zsh-autosuggestions
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 6 insertions, 7 deletions
@@ -1,14 +1,13 @@ pkgbase = zsh-autosuggestions-git pkgdesc = Fish-like autosuggestions for zsh (from git) pkgver = 0.6.4.r0.gae315de - pkgrel = 1 + pkgrel = 2 url = https://github.com/zsh-users/zsh-autosuggestions arch = any license = MIT makedepends = git depends = zsh provides = zsh-autosuggestions - conflicts = zsh-autosuggestions source = git+https://github.com/zsh-users/zsh-autosuggestions.git sha256sums = SKIP @@ -2,8 +2,9 @@ # Contributor: Andrew Stubbs pkgname=zsh-autosuggestions-git +_pkgname=${pkgname::-4} pkgver=0.6.4.r0.gae315de -pkgrel=1 +pkgrel=2 pkgdesc="Fish-like autosuggestions for zsh (from git)" arch=('any') url="https://github.com/zsh-users/zsh-autosuggestions" @@ -11,7 +12,6 @@ license=('MIT') depends=('zsh') makedepends=('git') provides=('zsh-autosuggestions') -conflicts=('zsh-autosuggestions') source=("git+https://github.com/zsh-users/zsh-autosuggestions.git") sha256sums=('SKIP') @@ -28,10 +28,10 @@ build() { package() { cd zsh-autosuggestions install -vDm 644 ${pkgname%-git}{,.plugin}.zsh \ - -t "${pkgdir}/usr/share/zsh/plugins/${pkgname}/" + -t "${pkgdir}/usr/share/zsh/plugins/${_pkgname}/" # docs install -vDm 644 {CHANGELOG,README}.md \ - -t "${pkgdir}/usr/share/doc/${pkgname}/" + -t "${pkgdir}/usr/share/doc/${_pkgname}/" # license - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}/" } |