void-packages/srcpkgs/moe/template
2021-01-12 00:46:49 -03:00

20 lines
622 B
Bash

# Template file for 'moe'
pkgname=moe
version=1.11
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=0efbcbcf5a4a8d966541c6cb099ba0ab6416780366dbce82d9ff995a85a5e2f9
pre_configure() {
# remove hardcoded values
sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
}