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')
13 changelog=$pkgname.changelog
14 source=(http://opencircuitdesign.com/magic/archive/$pkgname-$pkgver.tgz)
15 md5sums=('8e60929efedd4467fb02478740442d8d')
18 cd $srcdir/$pkgname-$pkgver/
19 ./configure --prefix=/usr
24 cd $srcdir/$pkgname-$pkgver/
25 make -j1 DESTDIR=$pkgdir MANDIR=/usr/share/man install
26 install -d $pkgdir/usr/share/licenses/$pkgname
27 if [ -x /usr/bin/ps2ascii ]; then
28 /usr/bin/ps2ascii $pkgdir/usr/lib/magic/doc/copyright.ps > $pkgdir/usr/share/licenses/$pkgname/copyright
30 install -m644 $pkgdir/usr/lib/magic/doc/copyright.ps $pkgdir/usr/share/licenses/magic