1 # Contributor: Jared Casper <jaredcasper@gmail.com>
5 pkgdesc="A VLSI layout system"
8 url="http://opencircuitdesign.com/magic/"
9 depends=('tcl' 'tk' 'libx11')
11 optdepends=('mesa: for better graphics'
12 'blt: to create a tree diagram of the cell hierarchy in a design')
15 changelog=$pkgname.changelog
16 source=(http://opencircuitdesign.com/magic/archive/magic-$pkgver.tgz)
17 md5sums=('b5800138bc10a24e1d2d5ee17cf5da97')
20 cd $srcdir/magic-$pkgver/
21 ./configure --prefix=/usr
26 cd $srcdir/magic-$pkgver/
27 make -j1 DESTDIR=$pkgdir MANDIR=/usr/share/man install
28 install -d $pkgdir/usr/share/licenses/$pkgname
29 if [ -x /usr/bin/ps2ascii ]; then
30 /usr/bin/ps2ascii $pkgdir/usr/lib/magic/doc/copyright.ps > $pkgdir/usr/share/licenses/$pkgname/copyright
32 install -m644 $pkgdir/usr/lib/magic/doc/copyright.ps $pkgdir/usr/share/licenses/magic