void-packages/srcpkgs/fig2dev/template
2021-03-28 19:23:53 +02:00

20 lines
599 B
Bash

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