void-packages/srcpkgs/elinks/template

23 lines
730 B
Bash

# Template file for 'elinks'
pkgname=elinks
version=0.12pre6
revision=21
build_style=gnu-configure
configure_args="--enable-true-color --enable-fastmem"
hostmakedepends="automake libtool pkg-config"
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel ncurses-devel libressl-devel"
short_desc="Full-Featured Text WWW Browser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://elinks.or.cz"
distfiles="http://elinks.or.cz/download/${pkgname}-${version}.tar.bz2"
checksum=383646375b8a325bef5a132c8300caab90eb0b842c5f8eff68febc00e29acada
pre_configure() {
sed -i 's,VA_COPY,va_copy,g' src/*/*.c
autoreconf -fi
}
post_install() {
rm -f ${DESTDIR}/usr/share/locale/locale.alias
}