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

Antonio Rojas arojas at archlinux.org
Sat Jun 1 10:13:12 UTC 2019


    Date: Saturday, June 1, 2019 @ 10:13:11
  Author: arojas
Revision: 354663

Update to 19.05.7

Modified:
  wxmaxima/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-01 09:34:47 UTC (rev 354662)
+++ PKGBUILD	2019-06-01 10:13:11 UTC (rev 354663)
@@ -3,7 +3,7 @@
 # Contributor: Vinay S Shastry <vinayshastry at gmail.com>
 
 pkgname=wxmaxima
-pkgver=19.04.1
+pkgver=19.05.7
 pkgrel=1
 pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
 arch=('x86_64')
@@ -12,11 +12,15 @@
 depends=('maxima' 'wxgtk3' 'ttf-linux-libertine')
 makedepends=('cmake')
 source=($pkgname-$pkgver.tar.gz::"https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${pkgver}.tar.gz")
-sha256sums=('701f67e43c9e996538bc372977d61ef6c79178b10782d6921da395b725951bf6')
+sha256sums=('06da51b6032dd5941b6ef09f8d7705f7c0a14b8dc7d0065f571369df9c339b7a')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd ${pkgname}-Version-${pkgver}
-  cmake . \
+  cd build
+  cmake ../${pkgname}-Version-${pkgver} \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
   make
@@ -28,7 +32,7 @@
 #}
 
 package() {
-  cd ${pkgname}-Version-${pkgver}
+  cd build
 
   make DESTDIR="${pkgdir}" install 
 }



More information about the arch-commits mailing list