void-packages/srcpkgs/moe/template

20 lines
622 B
Bash

# Template file for 'moe'
pkgname=moe
version=1.10
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="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/moe/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=8cfd44ab5623ed4185ee53962b879fd9bdd18eab47bf5dd9bdb8271f1bf7d53b
pre_configure() {
# remove hardcoded values
sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
}