Package Details: ngspice-git r9391.417c52ee5-2

Git Clone URL: https://aur.archlinux.org/ngspice-git.git (read-only, click to copy)
Package Base: ngspice-git
Description: Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.
Upstream URL: http://ngspice.sourceforge.net
Licenses: BSD
Conflicts: ngspice
Provides: ngspice
Submitter: nickoe
Maintainer: nickoe
Last Packager: nickoe
Votes: 4
Popularity: 0.000000
First Submitted: 2016-10-16 22:29 (UTC)
Last Updated: 2026-02-10 22:53 (UTC)

Dependencies (3)

Required by (12)

Sources (2)

Latest Comments

nickoe commented on 2026-02-10 22:55 (UTC)

@Pinky, well thank you, but your patch did not quite work for me. I pushed another implementation that effectively does the same as before, and slightly inspired by offical ngspice package.

Pinky commented on 2026-02-09 19:39 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 4928bdf..10c976d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -64,7 +64,7 @@ package() {
   install -D -m644  "$srcdir/manual.pdf" "$pkgdir/usr/share/doc/$pkgname/manual.pdf"

   install -D -m644 ngspice.pc "$pkgdir/usr/lib/pkgconfig/ngspice.pc"
-  install -Dm755 src/.libs/libngspice.so.0.0.0 "$pkgdir/usr/lib/libngspice.so.0.0.0"
-  ln -s "libngspice.so.0.0.0" "$pkgdir/usr/lib/libngspice.so.0"
-  ln -s "libngspice.so.0.0.0" "$pkgdir/usr/lib/libngspice.so"
+  install -Dm755 src/.libs/libngspice.so.* "$pkgdir/usr/lib/"
+  ln -s "libngspice.so.0.*" "$pkgdir/usr/lib/libngspice.so.0"
+  ln -s "libngspice.so.0.*" "$pkgdir/usr/lib/libngspice.so"
 }

threepwood commented on 2023-11-07 13:11 (UTC)

When trying to make the package I got the error cannot stat 'src/.libs/libngspice.so.0.0.0'. Apparently the library has changed name to libngspice.so.0.0.8

After I changed the library name in the PKGBUILD, I was able to successfully install the package.

nickoe commented on 2021-03-01 22:01 (UTC)

@StefanH, kicad-git does not require a minimum version of ngspice that is not in the normal repo. So I am not exactly sure I understand the need for it here.

What do we gain by using the pkgconfig file (.pc) file in kicad? I am not overly familiar with pkgconfig.

StefanH commented on 2021-03-01 09:44 (UTC)

Hi Nick, thanks for hosting this package! Could you please add a base version to the provides (line 18)? Eg provides=("ngspice") -> provides=("ngspice=34"). This helps upgrade ngspice to ngspice-git when a package requiring a minimum ngspice version is installed (kicad-git).

Also this package builds a pkg-config file, but never installs it. Inserting around line 63: install -D -m644 ngspice.pc "$pkgdir/usr/lib/pkgconfig/ngspice.pc" allows packages like KiCad to use pkg-config.