updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / pcb / PKGBUILD
blobcb0b68aebbffde70a8c6c9e1899d07ab6632b432
1 # $Id$
3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 # Contributor: Jared Casper <jaredcasper@gmail.com>
5 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
7 pkgname=pcb
8 pkgver=20110918
9 pkgrel=2
10 pkgdesc='Interactive printed circuit board editor'
11 url='http://pcb.gpleda.org/'
12 license=('GPL')
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')
22 install=install
24 build() {
25         cd "${srcdir}/${pkgname}-${pkgver}"
26         ./configure \
27                 --prefix=/usr \
28                 --enable-dbus \
29                 --disable-update-mime-database \
30                 --disable-update-desktop-database
31         make
34 package() {
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