void-packages/srcpkgs/vile/template

28 lines
789 B
Bash

# Template file for 'vile'
pkgname=vile
version=9.8x
revision=2
build_style=gnu-configure
configure_args="--disable-stripping"
hostmakedepends="flex"
makedepends="ncurses-devel"
short_desc="Text editor which is extremely compatible with vi like emacs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://invisible-island.net/vile/vile.html"
changelog="https://invisible-island.net/vile/CHANGES.html"
distfiles="https://invisible-mirror.net/archives/vile/current/vile-${version}.tgz"
checksum=8fe0dfa60179d4b7dd2750f116cd4396d4cd3e07d8a54d142a36c84f4a82feef
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
post_extract() {
vsed -e 's/\[\[//g' -i filters/sh-filt.l
}
post_configure() {
vsed -e '/^BUILD_/d' -i makefile
}