void-packages/srcpkgs/zile/template
2020-11-26 21:11:36 +01:00

21 lines
705 B
Bash

# Template file for 'zile'
pkgname=zile
version=2.4.14
revision=3
build_style=gnu-configure
hostmakedepends="help2man pkg-config"
makedepends="acl-devel gc-devel libatomic_ops-devel ncurses-devel"
short_desc="A small, fast, and powerful Emacs clone"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="http://www.gnu.org/software/zile"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=7a78742795ca32480f2bab697fd5e328618d9997d6f417cf1b14e9da9af26b74
post_configure() {
if [ "$CROSS_BUILD" ]; then
# Can not regenerate zile.1.in because the zile
# executable would be required. Use shipped file.
sed -i Makefile -e 's;\(\$(srcdir)/doc/zile.1.in:\).*;\1;'
fi
}