[arch-commits] Commit in wxmaxima/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Jun 4 22:47:15 UTC 2017


    Date: Sunday, June 4, 2017 @ 22:47:14
  Author: arojas
Revision: 297793

Update to 17.05.0, build with GTK3

Modified:
  wxmaxima/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-04 22:43:21 UTC (rev 297792)
+++ PKGBUILD	2017-06-04 22:47:14 UTC (rev 297793)
@@ -4,31 +4,32 @@
 # Contributor: Vinay S Shastry <vinayshastry at gmail.com>
 
 pkgname=wxmaxima
-pkgver=16.12.2
+pkgver=17.05.0
 pkgrel=1
 pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
 arch=('i686' 'x86_64')
-url="http://wxmaxima.sourceforge.net/"
+url="http://andrejv.github.io/wxmaxima/index.html"
 license=('GPL2')
-depends=('maxima' 'libxml2' 'wxgtk')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('c38634fe84f867cf586f3e47b06b9824f29ad09e')
+depends=('maxima' 'libxml2' 'wxgtk3')
+makedepends=('cmake')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/andrejv/wxmaxima/archive/Version-$pkgver.tar.gz")
+sha1sums=('b5494a55b9e10153af4ef36bec4a345b576723a6')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  export WX_CONFIG_PATH=/usr/bin/wx-config
-  export CXXFLAGS+=" -fno-delete-null-pointer-checks" # FS#49969
-  ./configure --prefix=/usr
+  cd ${pkgname}-Version-${pkgver}
+  cmake . \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
   make
 }
 
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
+#check() {
+#  cd ${pkgname}-Version-${pkgver}
+#  ./src/wxmaxima test/testbench_simple.wxmx
+#}
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-Version-${pkgver}
 
   make DESTDIR="${pkgdir}" install 
 



More information about the arch-commits mailing list