# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Giovanni Scafora # Contributor: simo pkgname=xcircuit pkgver=3.4.30 pkgrel=1 pkgdesc="A program for drawing publishable-quality electrical circuit schematic diagrams" arch=('i686' 'x86_64') url="http://opencircuitdesign.com/xcircuit" license=('GPL2') depends=('tk' 'libxpm' 'zlib') source=(http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz) md5sums=('adabfa8432ad4c95344d12a821902e81') build() { cd $startdir/src/$pkgname-$pkgver ./configure prefix=/usr --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5 --mandir=/usr/share/man make || return 1 make DESTDIR=$startdir/pkg install }