void-packages/srcpkgs/e3/template
Christian Neukirchen 9ce217e8f7 e3: set only_for_archs.
It's written in x86 assembly.
2016-10-28 15:33:47 +02:00

26 lines
701 B
Bash

# 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 <diogo@diogoleal.com>"
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
}