Package Details: qucs-s-git 26.1.1.r172.g706ed127-1

Git Clone URL: https://aur.archlinux.org/qucs-s-git.git (read-only, click to copy)
Package Base: qucs-s-git
Description: Qucs-S provides GUI for different circuit simulation kernels.
Upstream URL: https://github.com/ra3xdh/qucs_s
Keywords: circuit qucs-s qucsator-rf simulation
Licenses: GPL-2.0-only
Conflicts: qucs-s
Provides: qucs-s
Submitter: taotieren
Maintainer: taotieren (lilac)
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-02 12:03 (UTC)
Last Updated: 2026-09-04 13:37 (UTC)

Latest Comments

tskaar commented on 2026-07-26 15:53 (UTC)

Couple of recommended cleanups (IMO) to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 2e0fc2a..54378bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=26.1.1.r101.g08a0fb50
 pkgrel=1
 epoch=
 pkgdesc="Qucs-S provides GUI for different circuit simulation kernels. "
-arch=($CARCH)
+arch=("$CARCH")
 url="https://github.com/ra3xdh/qucs_s"
 license=('GPL-2.0-only')
 _qt=qt6
@@ -22,9 +22,9 @@ depends=(
     python-numpy
     python-matplotlib
     #     python-parse
-    $_qt-base
-    $_qt-charts
-    $_qt-svg
+    "$_qt-base"
+    "$_qt-charts"
+    "$_qt-svg"
     octave)
 makedepends=(
     cmake
@@ -41,7 +41,7 @@ makedepends=(
     mesa
     flex
     bison
-    $_qt-tools
+    "$_qt-tools"
 )
 optdepends=(
     'ngspice: Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice'
@@ -54,18 +54,24 @@ optdepends=(
     'qucs-rflayout: Export Qucs RF schematics to KiCad layouts & OpenEMS scripts')
 checkdepends=()
 optdepends=()
-provides=(${pkgname%-git})
-conflicts=(${pkgname%-git})
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
 replaces=()
 backup=()
-options=('!makeflags')
+options=()
 install=
 changelog=
-source=("${pkgname}::git+${url}.git"
-    "qucsator_rf::git+https://github.com/ra3xdh/qucsator_rf.git")
+source=(
+    "${pkgname}::git+${url}.git"
+    "qucsator_rf::git+https://github.com/ra3xdh/qucsator_rf.git#tag=1.0.7"
+    "rxcalc::git+https://github.com/arhiv6/rxcalc.git#commit=8ece6c4876e83771ad65f1b7bdbd938069f95430"
+    "qucs-s-spar-viewer::git+https://github.com/andresmmera/qucs-s-spar-viewer.git#tag=v2026.05.12"
+)
 noextract=()
 sha256sums=('SKIP'
-    'SKIP')
+            '591cca9eb43c962321c1dfff4af1e9ecd17c0305f18751086ae79ca1ed7405ad'
+            '844490acbb9921fa0089515d27375a0da3423cec355b9e285150482c999a941f'
+            '84de2f1d3be8cfefb6cc534eb6edb85b2092db9189d0e808197c464a673a30bf')
 validpgpkeys=()

 pkgver() {
@@ -78,18 +84,18 @@ pkgver() {
 }

 prepare() {
-    git -C "${srcdir}/${pkgname}" clean -dfx
     cd "${srcdir}/${pkgname}"
     git submodule init
     git config submodule.qucsator_rf.url "$srcdir/qucsator_rf"
-    git -c protocol.file.allow=always submodule update
+    git config submodule.rxcalc.url "$srcdir/rxcalc"
+    git config submodule.qucs-s-spar-viewer.url "$srcdir/qucs-s-spar-viewer"
+    git -c protocol.file.allow=always submodule update --no-fetch
 }

 build() {
     cd "${srcdir}/${pkgname}"

     cmake -D CMAKE_INSTALL_PREFIX=/usr \
-        -DWITH_QT6=ON \
         -B build \
         -G Ninja

@@ -98,5 +104,5 @@ build() {

 package() {
     cd "${srcdir}/${pkgname}"
-    DESTDIR="${pkgdir}" ninja -C "${srcdir}"/${pkgname}/build install
+    DESTDIR="${pkgdir}" ninja -C "${srcdir}/${pkgname}/build" install
 }

  1. Add all the different git submodules as sources
  2. Enforce a --no-fetch to ensure we don't download anything other than what's specified in the sources array.
  3. Specify specific commits/tags for the subprojects --> Allows for proper checksumming
  4. Quotes all around variable expansion (to please shellcheck)
  5. Remove DWITH_QT6=ON, this variable is no longer in use
  6. Remove the !makeflags option, don't see how this is required?

You're free to pick/choose whichever "improvements" you like to integrate, but at least do 1 & 3 IMO.

Cheers!

vectro commented on 2023-08-09 04:50 (UTC)

Looks like they upgraded to qt6. I had to install qt6-base, qt6-tools, qt6-svg.