updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gspiceui / PKGBUILD
blob6cf82dc27ffec46262e1da11fbcb83f6884c3ec5
1 # Contributor: Vladimir Cerny <blackvladimir@gmail.com>
3 pkgname=gspiceui
4 pkgver=1.0.00
5 pkgrel=1
6 pkgdesc="A GUI to various freely available Spice electronic ciruit simulators"
7 url="http://www.geda.seul.org/tools/gspiceui"
8 license=('GPL')
9 depends=('wxgtk')
10 optdepends=('gnucap: simulation backend'
11             'ngspice: simulation backend'
12             'gwave2: wave viewer'
13             'gaw: wave viewer')
15 source=(http://downloads.sourceforge.net/sourceforge/gspiceui/$pkgname-v$pkgver.tar.gz
16         gspiceui.desktop)
18 arch=('i686' 'x86_64')
20 md5sums=('66418a456e1eee04fb9f07e6ea41621b'
21          'ee8b733d2bdb46f8c526fa0b04310bb9')
23 build() {
24   cd $srcdir/$pkgname-v$pkgver
25   make || return 1
26   mkdir -p $pkgdir/usr/bin
27   mkdir -p $pkgdir/usr/share/man/man1
28   make INSTALLDIR=$pkgdir/usr install 
29   install -D -m644 $srcdir/gspiceui.desktop $pkgdir/usr/share/applications/gspiceui.desktop