void-packages/srcpkgs/mg/template

21 lines
581 B
Bash

# Template file for 'mg'
pkgname=mg
version=20230501
revision=1
build_style=gnu-makefile
make_install_args="mandir=/usr/share/man"
hostmakedepends="pkg-config"
makedepends="libbsd-devel ncurses-devel"
short_desc="Micro GNU/emacs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://github.com/hboetes/mg"
distfiles="https://github.com/hboetes/mg/archive/${version}.tar.gz"
checksum=e2878feca64067a0c524e456ffba68d8cb69bcdce0943d2f2b69cad06174462e
CFLAGS="-DTCSASOFT=0"
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -DREG_STARTEND=0";;
esac