-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18ce196
commit 061fa23
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |