void-packages/srcpkgs/xcircuit/template

22 lines
834 B
Bash

# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.14
revision=1
build_style=gnu-configure
make_build_args="ACLOCAL=aclocal AUTOMAKE=automake"
hostmakedepends="automake pkg-config"
makedepends="cairo-devel libXpm-devel libXt-devel tk-devel"
short_desc="Drawing publishable-quality electrical circuit schematic diagrams"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://opencircuitdesign.com/xcircuit/"
distfiles="http://opencircuitdesign.com/xcircuit/archive/xcircuit-${version}.tgz"
checksum=d786db26055d09748148510b0a81b56af256c2f23dced764ed9e24ef0369cf74
nocross="menudep: cannot execute binary file"
post_install() {
vmkdir usr/share/man/man1
mv ${DESTDIR}/usr/lib/xcircuit-${version%.*}/man/* ${DESTDIR}/usr/share/man/man1/
rm -rf ${DESTDIR}/usr/lib/xcircuit-${version%.*}/man
}