diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c538428d70f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Your Name <youremail@domain.com> +pkgname=zsh-vi-mode +pkgver=0.6.0 +pkgrel=1 +pkgdesc="A better and friendly vi(vim) mode plugin for ZSH" +arch=('any') +url="https://github.com/jeffreytse/zsh-vi-mode" +license=('MIT') +depends=('zsh') +source=("https://github.com/jeffreytse/zsh-vi-mode/archive/v$pkgver.tar.gz") +sha256sums=('d899f575a97390444cda50be01091cf6645ab8e03fc0a8e22ced65d403ee0474') + +package() { + cd "$srcdir/$pkgname-$pkgver/" + + install -Dm644 zsh-vi-mode.plugin.zsh "${pkgdir}/usr/share/zsh/plugins/$pkgname/zsh-vi-mode.plugin.zsh" + install -Dm644 zsh-vi-mode.zsh "${pkgdir}/usr/share/zsh/plugins/$pkgname/zsh-vi-mode.zsh" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |