blob: 71aa3014fe878c16307f41a1368a96b8c2927437 (
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
|
# Maintainer: Pascal Bos <bosp@nikhef.nl>
# Contributor: Felix Salfelder <felix@salfelder.org>
pkgname=qucsator-git
pkgver=0.0.20.r4.g22126bb
pkgrel=1
pkgdesc="An integrated circuit simulator"
arch=('x86_64')
url="http://qucs.sourceforge.net"
license=('GPL')
depends=('gcc-libs' 'adms')
makedepends=('git' 'gperf')
conflicts=('qucsator')
provides=("qucsator=${pkgver}")
source=('git+https://github.com/Qucs/qucsator.git#branch=develop')
md5sums=('SKIP')
build() {
cd ./qucsator
./bootstrap
./configure --prefix=/usr
make -j1
}
package() {
cd ./qucsator
make DESTDIR="$pkgdir" install
}
pkgver() {
cd "$srcdir/qucsator"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
|