void-packages/srcpkgs/xcircuit/template

24 lines
936 B
Bash

# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.12
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=92ea6366fdb58b669b62abc0c5f5662658bbaf80de01b4344b24d1eeeea0a610
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
}