mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
xnec2c: update to 4.4.16, adopt.
This commit is contained in:
parent
18ce196d7d
commit
061fa239e5
1 changed files with 10 additions and 6 deletions
|
@ -1,17 +1,18 @@
|
|||
# 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 <orphan@voidlinux.org>"
|
||||
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=e98af1e8b9098df9cc03f90950358b846cc6a2965e79c0114ab711fbe51272c5
|
||||
checksum=5e2662f297e67c78c6a5e3e4472fe91754c0fb945dc57e001ae2b31b95aaae69
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
@ -19,7 +20,10 @@ pre_configure() {
|
|||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue