#Maintainer: R S Ananda Murthy pkgname=easy_spice pkgver=0.6.8 pkgrel=1 zenver=72 arch=i486 source=("http://sourceforge.net/projects/easy-spice/files/easy-spice/easy_spice-0.6.8/$pkgname-$pkgver.tar.gz" "easy_spice.png") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://easy-spice.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "EasySpice is a simple to use spice frontend. It uses gschem for" "schematic entry and ngspice as circuit simulator." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications 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 cat < $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Name=Easy_Spice Comment=A Simple Graphical Frontend for Ngspice Encoding=UTF-8 Type=Application Categories=Science Exec=easy_spice Icon=easy_spice StartupNotify=false EOF }