summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMonstrousOgre2021-02-14 17:36:18 +0530
committerMonstrousOgre2021-02-14 17:36:18 +0530
commit5a55713cd622df21c2369ba3d8e7bd51eb0ada25 (patch)
tree9b28e82e2dbb2a02421fb1e8bf257c442bdd9f88 /PKGBUILD
downloadaur-5a55713cd622df21c2369ba3d8e7bd51eb0ada25.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7c538428d70
--- /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"
+}