blob: c2b4c6287f9c6d1159b476d47b052478386993f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Zes4Null <rjw1248[at]hotmail[dot]com>
# Contributor: Philip <philip1731 protonmail ch>
pkgname=qucs-s
pkgver=25.1.1
pkgrel=1
pkgdesc="A spin-off of Qucs that supports other free SPICE circuit simulators like ngspice with the same Qucs GUI"
arch=(
x86_64
i686
)
url="https://ra3xdh.github.io"
license=(GPL-2.0)
depends=(
qt6-svg
qt6-charts
ngspice
)
makedepends=(
cmake
qt6-tools
gperf
dos2unix
)
optdepends=(
'ngspice: recommended simulation backend'
'qucs: for Qucsator simulation backend'
'xyce-serial: SPICE-compatible simulation backend'
'spiceopus: general purpose simulation backend for optimization loops'
'openvaf: compiler for Verilog-A devices support'
'octave: high-level language for post-simulation data processing'
)
source=(https://github.com/ra3xdh/qucs_s/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('2aefd4bb8faef5ce13623b0b7daf5264cc6fa252c9bf69e46bc48256535e10dd')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir -p builddir
cd builddir
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
..
cmake --build . -j $(nproc)
}
package() {
cd $srcdir/$pkgname-$pkgver/builddir
DESTDIR="$pkgdir" cmake --install .
}
|