diff options
author | zhang.j.k | 2020-12-22 20:16:40 +0800 |
---|---|---|
committer | zhang.j.k | 2020-12-22 20:16:40 +0800 |
commit | 3016a959024eea5a37f9e82ae6c568e401fbefe4 (patch) | |
tree | 006b674a9dbd5b853a2a39a5dabc6d2d47c2ded4 | |
parent | ec9ff45184b7702c36b494207fa3866a74bce336 (diff) | |
download | aur-3016a959024eea5a37f9e82ae6c568e401fbefe4.tar.gz |
fix error for touching /home dirs
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 6 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = k-git pkgdesc = a zsh script / plugin to make directory listings more readable, adding a bit of color and some git status information on files and directories. pkgver = r189.e2bfbaf - pkgrel = 2 + pkgrel = 3 url = https://github.com/supercrabtree/k arch = any license = unknown @@ -1,7 +1,7 @@ -# Maintainer: Zhangjk <zhangjk67 at gmail dian com> +# Maintainer: Zhang.j.k <zhangjk67 at gmail dian com> pkgname=k-git pkgver=r189.e2bfbaf -pkgrel=2 +pkgrel=3 pkgdesc="a zsh script / plugin to make directory listings more readable, adding a bit of color and some git status information on files and directories." arch=('any') url="https://github.com/supercrabtree/k" @@ -19,13 +19,8 @@ pkgver() { } package() { - # cd "$srcdir/${pkgname}" cd "$srcdir/${pkgname%-git}" - install -Dm755 * -t "$pkgdir/usr/bin/k" - if grep -q "source /usr/bin/k/k.sh" $HOME/.zshrc - then - echo "config in .zshrc already satisfied" - else - echo "source /usr/bin/k/k.sh" >> $HOME/.zshrc - fi + install -vDm755 "${pkgname%-git}.sh" "k.plugin.zsh" -t "$pkgdir/usr/share/zsh/plugins/$pkgname" + # docs + install -vDm 644 readme.md -t "${pkgdir}/usr/share/doc/${pkgname}/" }
\ No newline at end of file |