From df4e45a41dbb2c5b9600f2c2f824f8e3efbc5bf0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Jun 2013 00:06:13 -0700 Subject: Wed Jun 12 00:06:12 PDT 2013 --- community/qucs/PKGBUILD | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'community/qucs/PKGBUILD') diff --git a/community/qucs/PKGBUILD b/community/qucs/PKGBUILD index 725db0efb..c8063a13f 100644 --- a/community/qucs/PKGBUILD +++ b/community/qucs/PKGBUILD @@ -1,34 +1,28 @@ -# $Id: PKGBUILD 88012 2013-04-09 21:50:26Z eric $ +# $Id: PKGBUILD 92667 2013-06-11 16:18:02Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Víctor Martínez Romanos pkgname=qucs -pkgver=0.0.16 -pkgrel=2 +pkgver=0.0.17s130610 +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') +depends=('gcc-libs' 'qt4') 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') +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 - - export PATH=$QTDIR/bin:$PATH - - [ $NOEXTRACT -eq 1 ] || patch -p1 <$srcdir/qucs-gcc-4.5.1.patch - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr + cd $srcdir/$pkgname-${pkgver/s/.} + ./configure --prefix=/usr make } package() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname-${pkgver/s/.} make DESTDIR=$pkgdir install } -- cgit v1.2.3-54-g00ecf