# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Víctor Martínez Romanos pkgname=qucs pkgver=0.0.15 pkgrel=1 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') source=(http://downloads.sourceforge.net/sourceforge/qucs/$pkgname-$pkgver.tar.gz) md5sums=('5a35eee790c92eba97de181b12794823') build() { cd $startdir/src/$pkgname-$pkgver . /etc/profile.d/qt3.sh export PATH=$QTDIR/bin:$PATH ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install }