blob: 4a6d30b6883e60736da9e4c0045e340789f6dc58 (
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
|
# Maintainer: Nils Czernia <nils[at]czserver.de>
# Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>
pkgname=qucs
pkgver=0.0.20
pkgrel=1
pkgdesc="An integrated circuit simulator with a graphical user interface"
arch=('x86_64')
url="https://github.com/Qucs/qucs"
license=('GPL')
depends=('gcc-libs' 'qt4')
makedepends=('cmake')
optdepends=('freehdl: to permit digital circuit simulation'
# 'asco: to enable circuit optimization'
'perl')
source=("https://github.com/Qucs/qucs/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('a860269540e5e646951ca4aafb732ac91680c48467ede5130683c4e30075b656')
build() {
cd "$srcdir"
cmake -B build -S "$pkgname-$pkgver" -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr'
cmake --build build -j`nproc`
}
package() {
cd "$srcdir"
DESTDIR="$pkgdir" cmake --install build
}
|