Guest User

Untitled

a guest
Jan 3rd, 2021
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From 645570f3ac1b315858557f04db6f50ab2363be3b Mon Sep 17 00:00:00 2001
  2. From: Chuang Zhu <genelocated@yandex.com>
  3. Date: Sun, 3 Jan 2021 14:55:53 +0800
  4. Subject: [PATCH] Specify WINEARCH=win64
  5.  
  6. ---
  7. PKGBUILD        | 2 +-
  8.  ltspice-help.sh | 2 +-
  9.  ltspice.sh      | 2 +-
  10.  3 files changed, 3 insertions(+), 3 deletions(-)
  11.  
  12. diff --git a/PKGBUILD b/PKGBUILD
  13. index 0e47210..6c47003 100644
  14. --- a/PKGBUILD
  15. +++ b/PKGBUILD
  16. @@ -5,7 +5,7 @@ _ltspice_ver_roman="XVII"
  17.  _ltspice_ver="17"
  18.  
  19.  pkgname=ltspice
  20. -pkgver=17.20201213.13
  21. +pkgver=17.20201222.1
  22.  pkgrel=1
  23.  pkgdesc="SPICE simulator, schematic capture and waveform viewer. Installation based on Field Update Utility."
  24.  arch=('x86_64')
  25. diff --git a/ltspice-help.sh b/ltspice-help.sh
  26. index 09e52b2..7552a3d 100644
  27. --- a/ltspice-help.sh
  28. +++ b/ltspice-help.sh
  29. @@ -1,3 +1,3 @@
  30.  #!/bin/sh
  31. -export WINEPREFIX=$HOME/.ltspice/env
  32. +export WINEPREFIX=$HOME/.ltspice/env WINEARCH=win64
  33.  wine hh /usr/share/doc/ltspice/ltspice.chm "$@"
  34. diff --git a/ltspice.sh b/ltspice.sh
  35. index d93cf7d..8ee16f3 100644
  36. --- a/ltspice.sh
  37. +++ b/ltspice.sh
  38. @@ -7,5 +7,5 @@ if [ ! -d $CONFIG_DIR ]; then
  39.     mkdir -p $CONFIG_DIR
  40.     touch $CONFIG_DIR/LTspiceXVII.ini
  41.  fi
  42. -export WINEPREFIX=$HOME/.ltspice/env
  43. +export WINEPREFIX=$HOME/.ltspice/env WINEARCH=win64
  44.  wine /opt/ltspice/XVIIx64 -ini $CONFIG_DIR/LTspiceXVII.ini "$@"
  45. --
  46. 2.29.2
  47.  
RAW Paste Data