summaryrefslogtreecommitdiff
path: root/community/qucs/PKGBUILD
blob: e1539851bfa0b24d43b78d317eb7fe5a94c0209d (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
# $Id: PKGBUILD 92667 2013-06-11 16:18:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>

pkgname=qucs
pkgver=0.0.17s130610
pkgrel=1
pkgdesc="An integrated circuit simulator with a graphical user interface"
arch=('i686' 'x86_64' 'mips64el')
url="http://qucs.sourceforge.net"
license=('GPL')
depends=('gcc-libs' 'qt4')
optdepends=('freehdl: to permit digital circuit simulation'
	    'asco: to enable circuit optimization'
	    'perl')
source=("http://downloads.sourceforge.net/project/qucs/qucs/$(echo $pkgver | cut -f1 -ds)-snapshots/qucs-${pkgver/s/.}.tar.gz")
md5sums=('47dead7df86419bf121d9c1c45f3cdfa')

build() {
  cd $srcdir/$pkgname-${pkgver/s/.}
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-${pkgver/s/.}
  make DESTDIR=$pkgdir install
}