[arch-commits] Commit in wxmaxima/repos (6 files)
Felix Yan
fyan at archlinux.org
Mon Dec 7 06:58:03 UTC 2015
Date: Monday, December 7, 2015 @ 07:58:02
Author: fyan
Revision: 253243
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
wxmaxima/repos/staging-i686/
wxmaxima/repos/staging-i686/PKGBUILD
(from rev 253242, wxmaxima/trunk/PKGBUILD)
wxmaxima/repos/staging-i686/wxmaxima.install
(from rev 253242, wxmaxima/trunk/wxmaxima.install)
wxmaxima/repos/staging-x86_64/
wxmaxima/repos/staging-x86_64/PKGBUILD
(from rev 253242, wxmaxima/trunk/PKGBUILD)
wxmaxima/repos/staging-x86_64/wxmaxima.install
(from rev 253242, wxmaxima/trunk/wxmaxima.install)
---------------------------------+
staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-i686/wxmaxima.install | 26 ++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-x86_64/wxmaxima.install | 26 ++++++++++++++++++++++++++
4 files changed, 116 insertions(+)
Copied: wxmaxima/repos/staging-i686/PKGBUILD (from rev 253242, wxmaxima/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-07 06:58:02 UTC (rev 253243)
@@ -0,0 +1,32 @@
+ $Id: PKGBUILD,v 1.10 2008/05/13 19:03:39 ronald Exp $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
+
+pkgname=wxmaxima
+pkgver=15.08.2
+pkgrel=2
+pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
+arch=('i686' 'x86_64')
+url="http://wxmaxima.sourceforge.net/"
+license=('GPL2')
+depends=('maxima' 'libxml2' 'wxgtk' 'shared-mime-info' 'desktop-file-utils')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+install=wxmaxima.install
+sha1sums=('e365334527759a8e483f886bd85112d42791f9c2')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export WX_CONFIG_PATH=/usr/bin/wx-config
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # Fix category in .desktop file
+ sed -i '/Categories=/c\Categories=Science;Math;' data/wxMaxima.desktop
+}
Copied: wxmaxima/repos/staging-i686/wxmaxima.install (from rev 253242, wxmaxima/trunk/wxmaxima.install)
===================================================================
--- staging-i686/wxmaxima.install (rev 0)
+++ staging-i686/wxmaxima.install 2015-12-07 06:58:02 UTC (rev 253243)
@@ -0,0 +1,26 @@
+infodir=/usr/share/info
+filelist=(wxmaxima.info.gz)
+
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+
Copied: wxmaxima/repos/staging-x86_64/PKGBUILD (from rev 253242, wxmaxima/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-07 06:58:02 UTC (rev 253243)
@@ -0,0 +1,32 @@
+ $Id: PKGBUILD,v 1.10 2008/05/13 19:03:39 ronald Exp $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
+
+pkgname=wxmaxima
+pkgver=15.08.2
+pkgrel=2
+pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
+arch=('i686' 'x86_64')
+url="http://wxmaxima.sourceforge.net/"
+license=('GPL2')
+depends=('maxima' 'libxml2' 'wxgtk' 'shared-mime-info' 'desktop-file-utils')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+install=wxmaxima.install
+sha1sums=('e365334527759a8e483f886bd85112d42791f9c2')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export WX_CONFIG_PATH=/usr/bin/wx-config
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # Fix category in .desktop file
+ sed -i '/Categories=/c\Categories=Science;Math;' data/wxMaxima.desktop
+}
Copied: wxmaxima/repos/staging-x86_64/wxmaxima.install (from rev 253242, wxmaxima/trunk/wxmaxima.install)
===================================================================
--- staging-x86_64/wxmaxima.install (rev 0)
+++ staging-x86_64/wxmaxima.install 2015-12-07 06:58:02 UTC (rev 253243)
@@ -0,0 +1,26 @@
+infodir=/usr/share/info
+filelist=(wxmaxima.info.gz)
+
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove () {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+
More information about the arch-commits
mailing list