void-packages/srcpkgs/xcircuit/template

22 lines
834 B
Bash

# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.23
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=8f43c0f0050819c248cc6925f95228af861ec434dd9d2629ca7d13b8d0a55b51
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
}