void-packages/srcpkgs/moe/template

21 lines
634 B
Bash

# Template file for 'moe'
pkgname=moe
version=1.8
revision=1
build_style=gnu-makefile
conf_files="/etc/moerc"
hostmakedepends="lzip"
makedepends="ncurses-devel"
short_desc="Powerful and user-friendly text editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.gnu.org/software/moe/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.lz"
checksum=7eff4ef2197d8febec99ad4efd4e277b1f3b7d4660f75e3b42b8818bc6bb6457
do_configure() {
sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
# Custom configure script, doesn't support cross compiling
./configure --prefix=/usr --sysconfdir=/etc
}