Skip to content

Commit

Permalink
xnec2c: update to 4.4.16, adopt.
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Jan 15, 2025
1 parent 18ce196 commit 061fa23
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions srcpkgs/xnec2c/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
# Template file for 'xnec2c'
pkgname=xnec2c
version=4.4.12
revision=2
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="Orphaned <[email protected]>"
maintainer="classabbyamp <[email protected]>"
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=e98af1e8b9098df9cc03f90950358b846cc6a2965e79c0114ab711fbe51272c5
checksum=5e2662f297e67c78c6a5e3e4472fe91754c0fb945dc57e001ae2b31b95aaae69

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
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
}

0 comments on commit 061fa23

Please sign in to comment.