void-packages/srcpkgs/fig2dev/template

21 lines
598 B
Bash

# Template file for 'fig2dev'
pkgname=fig2dev
version=3.2.8
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=931258ae43950d0931ddcea13ce6554d2cd7fc3c93585aebf74e393bb14fe27d
replaces="transfig>=0"
post_install() {
sed '/^$/q' <fig2dev/fig2dev.c >LICENSE
vlicense LICENSE
}