# Template file for 'e3' pkgname=e3 version=2.82 revision=2 build_style=gnu-makefile hostmakedepends="nasm" only_for_archs="i686 i686-musl x86_64 x86_64-musl" short_desc="A full-screen and user-friendly text editor" maintainer="Diogo Leal " license="GPL-2" homepage="https://sites.google.com/site/e3editor/" distfiles="https://sites.google.com/site/e3editor/Home/e3-${version}.tgz" checksum=53c51d656801fd3ae0179a5b27f028e07eaba328e80c8c55050268359b9a2924 nostrip="Strip stage errs" pre_build() { sed -i 's#/usr/local#/usr#g' Makefile } do_install() { vbin e3 vman e3.man e3.1 for link in e3em e3pi e3vi e3ne e3ws ; do ln -s /usr/bin/e3 ${DESTDIR}/usr/bin/${link} done }