summaryrefslogtreecommitdiff
path: root/community/xcircuit/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/xcircuit/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xcircuit/PKGBUILD')
-rw-r--r--community/xcircuit/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/xcircuit/PKGBUILD b/community/xcircuit/PKGBUILD
new file mode 100644
index 000000000..40482de28
--- /dev/null
+++ b/community/xcircuit/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 43609 2011-03-27 20:50:31Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Giovanni Scafora <linuxmania@gmail.com>
+# Contributor: simo <simo@archlinux.org>
+
+pkgname=xcircuit
+pkgver=3.6.168
+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')
+makedepends=('chrpath')
+source=(http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz)
+md5sums=('240cc5a2f9934430b4438052eafb96c5')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|am__api_version="1.9"|am__api_version="1.11"|' configure
+ ./configure prefix=/usr --with-tcl=/usr/lib --with-tk=/usr/lib --mandir=/usr/share/man
+ make
+ make DESTDIR=$pkgdir install
+ mkdir -p $pkgdir/usr/share/man/man1
+ mv $pkgdir/usr/lib/xcircuit-3.6/man/* $pkgdir/usr/share/man/man1/
+ rm -rf $pkgdir/usr/lib/xcircuit-3.6/man/
+ chrpath -d $pkgdir/usr/lib/xcircuit-3.6/xcircexec
+}