#Maintainer: R S Ananda Murthy pkgname=qucs pkgver=0.0.16 pkgrel=2 zenver=72 arch=i486 source=("http://downloads.sourceforge.net/project/qucs/qucs/0.0.16/qucs-0.0.16.tar.gz" "qucs.png" "qucs-gcc-4.5.1.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://qucs.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Qucs is an integrated circuit simulator which means you are able to" "setup a circuit with a graphical user interface (GUI) and simulate" "the large-signal, small-signal and noise behaviour of the circuit." "After that simulation has finished you can view the simulation results" "on a presentation page or window." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../qucs-gcc-4.5.1.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp $startdir/src/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png chmod -x $startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png mkdir -p $startdir/pkg/usr/share/applications cat < $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Encoding=UTF-8 Name=Qucs Comment=Quite Universal Circuit Simulator Exec=qucs Terminal=false Type=Application Categories=Science Icon=qucs StartupNotify=false EOF }