wxMaxima: install desktop file and icon.
This commit is contained in:
parent
419aa5d039
commit
95ca9d1e48
1 changed files with 12 additions and 3 deletions
|
@ -2,14 +2,23 @@
|
|||
|
||||
pkgname="wxMaxima"
|
||||
version="13.04.2"
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-printing"
|
||||
short_desc="Document based Interface for maxima"
|
||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||
license="GPL"
|
||||
homepage="http://andrejv.github.io/wxmaxima/"
|
||||
makedepends="maxima wxWidgets-devel"
|
||||
depends="maxima"
|
||||
makedepends="maxima wxWidgets-devel desktop-file-utils"
|
||||
depends="maxima desktop-file-utils"
|
||||
distfiles="${SOURCEFORGE_SITE}/wxmaxima/${pkgname}-${version}.tar.gz"
|
||||
checksum="29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb"
|
||||
|
||||
post_install() {
|
||||
# Fix category in .desktop file
|
||||
sed -i -e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' wxmaxima.desktop
|
||||
|
||||
# Install desktop file and icon
|
||||
vinstall wxmaxima.desktop 644 usr/share/applications
|
||||
vinstall data/wxmaxima.png 644 usr/share/pixmaps
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue