diff options
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | ltspice-help.sh | 2 | ||||
-rw-r--r-- | ltspice.sh | 4 |
3 files changed, 11 insertions, 8 deletions
@@ -1,10 +1,10 @@ # Maintainer: Max Stabel <max dot stabel03 at gmail dot com> pkgname=ltspice -pkgver=4.23k +pkgver=17 pkgrel=1 pkgdesc="SPICE simulator, schematic capture and waveform viewer of electronic circuits." -arch=('i686' 'x86_64') +arch=('x86_64') url="http://www.linear.com/designtools/software/" license=('custom') depends=('wine') @@ -13,17 +13,20 @@ source=("$pkgname::git+https://github.com/M4a1x/$pkgname#branch=$pkgver" "$pkgname.sh" "$pkgname-help.sh") sha256sums=('SKIP' - '49474c013b674773a5509c226cf62fb75e4aaa91acf03f4501df6784b5efd513' - 'e7f7ff195bf21b36fd1c27108c2715da83620012cd00cd89046d96da0fee3f3a') + '993042982a827ac8bd28490f3433715383eaf78e75f2af883a53b1fa7277fed6' + 'fa6d9e6a8c64501d1eed2087b37e3a4245ed051c8a5fbc131f6f7ab9bebb8eea') package() { cd "$pkgname" # Install License - install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" rm License.txt + # Install docs to /usr/share/doc/ + install -Dm644 LTspiceHelp.chm "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" + # Install binary files to /usr/share mkdir -p "$pkgdir/usr/share/$pkgname" cp -r * "$pkgdir/usr/share/$pkgname" diff --git a/ltspice-help.sh b/ltspice-help.sh index 502e141d8eec..6806a14e7a41 100644 --- a/ltspice-help.sh +++ b/ltspice-help.sh @@ -1,3 +1,3 @@ #!/bin/bash unset WINEPREFIX -wine /usr/share/ltspice/LTspiceHelp.chm "$@" +wine /usr/share/doc/ltspice/LTspiceHelp.chm "$@" diff --git a/ltspice.sh b/ltspice.sh index 5a7edaba6a7c..f37e408da8fd 100644 --- a/ltspice.sh +++ b/ltspice.sh @@ -2,6 +2,6 @@ unset WINEPREFIX if [ ! -d "$HOME"/.ltspice ] ; then mkdir -p "$HOME"/.ltspice - touch "$HOME"/.ltspice/scad3.ini + touch "$HOME"/.ltspice/LTspiceXVII.ini fi -wine /usr/share/ltspice/scad3.exe -ini "$HOME"/.ltspice/scad3.ini "$@" +wine /usr/share/ltspice/XVIIx64 -ini "$HOME"/.ltspice/LTspiceXVII.ini "$@" |