void-packages/srcpkgs/zile/template
2021-01-12 00:31:40 -03:00

21 lines
714 B
Bash

# Template file for 'zile'
pkgname=zile
version=2.4.15
revision=1
build_style=gnu-configure
hostmakedepends="help2man pkg-config"
makedepends="acl-devel gc-devel libatomic_ops-devel ncurses-devel"
short_desc="Small, fast, and powerful Emacs clone"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/zile"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=39c300a34f78c37ba67793cf74685935a15568e14237a3a66fda8fcf40e3035e
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
}