void-packages/srcpkgs/zile/template
2016-10-19 08:38:04 +02:00

21 lines
684 B
Bash

# Template file for 'zile'
pkgname=zile
version=2.4.13
revision=1
build_style=gnu-configure
hostmakedepends="help2man pkg-config"
makedepends="acl-devel gc-devel ncurses-devel"
short_desc="A small, fast, and powerful Emacs clone"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/zile"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=c795f369ea432219c21bf59ffc9322fd5f221217021a8fbaa6f9fed91778ac0e
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
}