void-packages/srcpkgs/moe/template

21 lines
622 B
Bash

# Template file for 'moe'
pkgname=moe
version=1.12
revision=1
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc"
conf_files="/etc/moerc"
hostmakedepends="lzip"
makedepends="ncurses-devel"
short_desc="Powerful and user-friendly text editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/moe/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=8a885f2be426f8e04ad39c96012bd860954085a23744f2451663168826d7a1e8
pre_configure() {
# remove hardcoded values
sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
}