void-packages/srcpkgs/xcircuit/template
2020-03-13 17:33:51 +00:00

21 lines
834 B
Bash

# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.17
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=d4f480adb8450aca482e480a2ce0ab3f3fcbb999963c51d74f27499713a231ce
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
}