void-packages/srcpkgs/xnec2c/template

26 lines
774 B
Bash

# Template file for 'xnec2c'
pkgname=xnec2c
version=4.4.12
revision=1
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=e98af1e8b9098df9cc03f90950358b846cc6a2965e79c0114ab711fbe51272c5
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
}