void-packages/srcpkgs/xcircuit/template
2019-11-10 10:53:18 +01:00

21 lines
834 B
Bash

# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.13
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=769c886531fd5f7da0142115aa67d4eb465a3da127f0ad8b8705c5b53702a2f0
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
}