diff options
author | root <root@rshg054.dnsready.net> | 2013-06-12 00:06:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-12 00:06:13 -0700 |
commit | df4e45a41dbb2c5b9600f2c2f824f8e3efbc5bf0 (patch) | |
tree | f54aa9c2807350cda9080c77b26961c365927af4 /community/qucs/PKGBUILD | |
parent | bf794523287bafc14671f83b08f7b22bceadc4bc (diff) |
Wed Jun 12 00:06:12 PDT 2013
Diffstat (limited to 'community/qucs/PKGBUILD')
-rw-r--r-- | community/qucs/PKGBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
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 <pupykin.s+arch@gmail.com> # Contributor: Víctor Martínez Romanos <vmromanos@gmail.com> 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 } |