blob: 128762693d3c78a44f943ba159a4c8453d2dbc0a (
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
|
# $Id: PKGBUILD 65495 2012-02-21 06:38:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Víctor Martínez Romanos <vmromanos@gmail.com>
pkgname=qucs
pkgver=0.0.16
pkgrel=2
pkgdesc="An integrated circuit simulator with a graphical user interface"
arch=('i686' 'x86_64')
url="http://qucs.sourceforge.net"
license=('GPL')
depends=('qt3')
optdepends=('freehdl: to permit digital circuit simulation'
'asco: to enable circuit optimization'
'perl')
source=(http://downloads.sourceforge.net/sourceforge/qucs/$pkgname-$pkgver.tar.gz
qucs-gcc-4.5.1.patch)
md5sums=('c916502171d422ab168fe5fc681b29d8'
'6fd31dc632cdef53f8c2566ad782901a')
build() {
cd $srcdir/$pkgname-$pkgver
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
[ $NOEXTRACT -eq 1 ] || patch -p1 <$srcdir/qucs-gcc-4.5.1.patch
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
}
|