void-packages/srcpkgs/elinks/template
2018-04-26 20:43:05 +02:00

22 lines
718 B
Bash

# Template file for 'elinks'
pkgname=elinks
version=0.12pre6
revision=17
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="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://elinks.or.cz"
license="GPL-3"
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
}