blob: e7a7fcf0cec31339cdca825a605096356cd7711a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=pcb
pkgver=20100929
pkgrel=2
pkgdesc="An interactive printed circuit board editor for the X11 window system."
url="http://pcb.gpleda.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('tcl' 'gtk2' 'gd' 'perlxml' 'hicolor-icon-theme' 'shared-mime-info')
optdepends=('tk: for the graphical QFP footprint builder')
install=$pkgname.install
changelog=Changelog
source=(http://downloads.sourceforge.net/pcb/$pkgname-$pkgver.tar.gz)
md5sums=('4c71f5d1c40ad65539957748b88eb863')
build() {
cd $srcdir/$pkgname-$pkgver/
if [ ! -x /usr/bin/wish ]; then
config="env WISH=/usr/bin/true ./configure --enable-dbus"
else
config="./configure --enable-dbus"
fi
$config --prefix=/usr \
--disable-update-mime-database \
--disable-update-desktop-database
make
}
package() {
cd $srcdir/$pkgname-$pkgver/
make -j1 prefix=$pkgdir/usr install
rm $pkgdir/usr/share/info/dir
}
|