3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 # Contributor: Jared Casper <jaredcasper@gmail.com>
5 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
10 pkgdesc='Interactive printed circuit board editor'
11 url='http://pcb.gpleda.org/'
13 arch=('i686' 'x86_64')
14 depends=('gtkglext' 'gd' 'hicolor-icon-theme')
15 optdepends=('tk: additional tools'
16 'tcl: additional tools'
17 'perl: additional tools')
18 makedepends=('intltool' 'tk')
19 source=("http://downloads.sourceforge.net/pcb/${pkgname}-${pkgver}.tar.gz")
20 sha1sums=('53ca27797d4db65a068b56f157e3ea6c5c29051f')
25 cd "${srcdir}/${pkgname}-${pkgver}"
29 --disable-update-mime-database \
30 --disable-update-desktop-database
35 cd "${srcdir}/${pkgname}-${pkgver}"
36 make -j1 prefix="${pkgdir}"/usr install
38 rm "${pkgdir}"/usr/share/info/dir
39 rm "${pkgdir}"/usr/include/gts.h
40 rm "${pkgdir}"/usr/lib/libgts.a
41 rmdir "${pkgdir}"/usr/include
42 rmdir "${pkgdir}"/usr/lib