summaryrefslogtreecommitdiff
path: root/community/pcb/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pcb/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pcb/PKGBUILD')
-rw-r--r--community/pcb/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/pcb/PKGBUILD b/community/pcb/PKGBUILD
new file mode 100644
index 000000000..e7a7fcf0c
--- /dev/null
+++ b/community/pcb/PKGBUILD
@@ -0,0 +1,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
+}
+