#Maintainer: R S Ananda Murthy pkgname=gerbv pkgver=2.6.0 pkgrel=1 zenver=72 arch=i486 source=("http://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-2.6.0/gerbv-2.6.0.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/rsamurti/$pkgname/ docs=("readme*" "install" "contributors" "copying" "changelog" "authors" "news" "todo" "bugs") url=http://www.gpleda.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gerbv (A Free/Open Source Gerber Viewer)" "Gerbv is a viewer for Gerber RS-274X files, Excellon drill files, and" "CSV pick-and-place files. Gerber files are typically output by a PCB" "CAD tool (such as the gEDA Project's PCB), and are sent to a PCB" "manufacturer who uses the files for manufacturing Printed Circuit" "Boards (PCBs)." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-unit-mm \ --disable-update-desktop-database make || return 1 make check make install DESTDIR=$startdir/pkg rm $startdir/pkg/usr/share/applications/gerbv.desktop cat < $startdir/pkg/usr/share/applications/gerbv.desktop [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Gerbv GenericName=Gerber File Viewer Comment=Gerber file viewer for PCB design Type=Application Exec=gerbv %F Icon=gerbv MimeType=application/x-gerber;application/x-excellon; Categories=Science EOF }