#!/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