void-packages/srcpkgs/xnec2c/template

27 lines
806 B
Bash

# Template file for 'xnec2c'
pkgname=xnec2c
version=4.4.11
revision=1
wrksrc="${pkgname}-v${version}"
build_style=gnu-configure
hostmakedepends="automake libtool gettext-devel intltool pkg-config glib-devel which"
makedepends="gtk+3-devel"
depends="libglvnd"
short_desc="GTK application for Numerical Electromagnetics Code generation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.xnec2c.org/"
distfiles="https://www.xnec2c.org/releases/xnec2c-v${version}.tar.gz"
checksum=33892709b19a271749c36073993282e76b77b3c811e94464953cf9b0c3b2cb8f
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vmkdir usr/share/doc
cp -r doc ${DESTDIR}/usr/share/doc/xnec2c
vcopy examples usr/share/doc/xnec2c
rm ${DESTDIR}/usr/share/doc/xnec2c/doc/xnec2c.1
}