void-packages/srcpkgs/xcircuit/template

24 lines
934 B
Bash
Raw Normal View History

2018-08-21 19:31:31 +02:00
# Template file for 'xcircuit'
pkgname=xcircuit
version=3.9.73
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="cr6git <quark6@protonmail.com>"
license="GPL-2.0-only"
homepage="http://opencircuitdesign.com/xcircuit/"
distfiles="http://opencircuitdesign.com/xcircuit/archive/xcircuit-${version}.tgz"
checksum=4f0e7c9630775a9624568ccd6e312941e2d6fa46a44f6012a99fde1bbd8249ce
nocross="https://travis-ci.org/void-linux/void-packages/jobs/418553273#L1197
https://travis-ci.org/void-linux/void-packages/jobs/418553274#L1184"
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
}