summaryrefslogtreecommitdiff
path: root/core/openvi/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/openvi/MAKEPKG')
-rw-r--r--core/openvi/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/openvi/MAKEPKG b/core/openvi/MAKEPKG
new file mode 100644
index 0000000..a431130
--- /dev/null
+++ b/core/openvi/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: OpenVi is a portable fork of the OpenBSD vi editor
+# url: https://github.com/johnsonjh/OpenVi/
+
+name=openvi
+version=7.9.33
+release=1
+depends=(ncurses)
+source=(https://github.com/johnsonjh/OpenVi/archive/refs/tags/${version}.tar.gz)
+renames=($name-$version.tar.gz)
+
+sha256sums=(
+ "3b807837b8458609b37e107fa063160298ee3655998dd8df590885c297af1fd3"
+)
+
+build() {
+ cd OpenVi-"${version}"
+
+ make CC="${CC:-cc}"
+ make PREFIX=/ MANDIR=/usr/share/man DESTDIR="${PKG}" install
+
+ rm -rf $PKG/libexec
+
+ ln -sf ovi $PKG/bin/vi
+ ln -sf ovi $PKG/bin/ex
+
+ rm -rf $PKG/share
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh