31 lines
762 B
Bash
31 lines
762 B
Bash
# Template file for 'e3'
|
|
pkgname=e3
|
|
version=2.82
|
|
revision=4
|
|
build_style=gnu-makefile
|
|
hostmakedepends="nasm"
|
|
archs="i686* x86_64*"
|
|
short_desc="A full-screen and user-friendly text editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://texteditors.org/cgi-bin/wiki.pl?E3"
|
|
distfiles="http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/9a/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
|
|
}
|