30 lines
1019 B
Bash
30 lines
1019 B
Bash
# Template file for 'xnec2c'
|
|
pkgname=xnec2c
|
|
version=4.4.16
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gettext-devel pkg-config glib-devel which"
|
|
makedepends="gtk+3-devel"
|
|
depends="libglvnd"
|
|
short_desc="GTK application for Numerical Electromagnetics Code generation"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.xnec2c.org/"
|
|
changelog="https://www.xnec2c.org/#Version"
|
|
distfiles="https://www.xnec2c.org/releases/xnec2c-v${version}.tar.gz"
|
|
checksum=5e2662f297e67c78c6a5e3e4472fe91754c0fb945dc57e001ae2b31b95aaae69
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir usr/share/doc
|
|
vcopy doc usr/share/doc/xnec2c
|
|
vmkdir usr/share/examples
|
|
mv "${DESTDIR}"/usr/share/xnec2c/examples "${DESTDIR}"/usr/share/examples/xnec2c
|
|
vmkdir usr/share/icons/hicolor/scalable/apps
|
|
mv "${DESTDIR}"/usr/share/pixmaps/xnec2c.svg "${DESTDIR}"/usr/share/icons/hicolor/scalable/apps
|
|
rm ${DESTDIR}/usr/share/doc/xnec2c/doc/xnec2c.1
|
|
}
|