e3: build 64-bit version for 64-bit targets

This commit is contained in:
Johannes Brechtmann 2018-08-09 11:57:37 +02:00 committed by Johannes
parent 794a21a267
commit 451e71eeef

View file

@ -1,18 +1,22 @@
# Template file for 'e3'
pkgname=e3
version=2.82
revision=2
revision=3
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"
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
}