void-packages/srcpkgs/fig2dev/template

21 lines
599 B
Bash

# Template file for 'fig2dev'
pkgname=fig2dev
version=3.2.8b
revision=1
build_style=gnu-configure
configure_args="--enable-transfig"
hostmakedepends="ghostscript"
makedepends="libpng-devel libXpm-devel"
short_desc="Export .xfig to various output formats"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom:MIT-like"
homepage="http://www.xfig.org/"
distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz"
checksum=418a164aa9fad72d25bb4fec8d7b452fe3a2f12f990cf22e05c0eb16cecb68cb
replaces="transfig>=0"
post_install() {
sed '/^$/q' <fig2dev/fig2dev.c >LICENSE
vlicense LICENSE
}