31 lines
753 B
Bash
31 lines
753 B
Bash
# Template file for 'e3'
|
|
pkgname=e3
|
|
version=2.82
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
hostmakedepends="nasm"
|
|
archs="i686* x86_64*"
|
|
short_desc="A full-screen and user-friendly text editor"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://sites.google.com/site/e3editor/"
|
|
distfiles="https://sites.google.com/site/e3editor/Home/e3-${version}.tgz"
|
|
checksum=53c51d656801fd3ae0179a5b27f028e07eaba328e80c8c55050268359b9a2924
|
|
nostrip="Strip stage errs"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*) make_build_args="64";;
|
|
esac
|
|
|
|
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
|
|
}
|