blob: 515ec8715891a13eafbb2d13ad9768f0b0a3e531 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer: Torleif Skår <torleif.skaar AT gmail DOT com>
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
pkgname=magic
pkgver=8.3.526
pkgrel=2
pkgdesc="A VLSI layout system"
_git_url="https://github.com/RTimothyEdwards/magic"
url="http://opencircuitdesign.com/magic/"
arch=('i686' 'x86_64')
license=('LicenseRef-Custom')
depends=(
'glibc'
'tcl'
'tk'
'libx11'
'zlib'
'python'
'bash'
)
makedepends=(
'git'
'gcc'
'make'
'tcsh'
#'ghostscript'
)
optdepends=(
'libgl: OpenGL for performant 2D graphics, needs "glu" as well'
'glu: Vector fonts for OpenGL renderer'
'cairo: 2D accelerated graphics, alternative to OGL'
'blt: to create a tree diagram of the cell hierarchy in a design'
)
_archive="${pkgname}-${pkgver}"
source=("${_archive}::git+${_git_url}#tag=${pkgver}")
b2sums=('9afeea5369e29d18facbf464e23ec31bfef8f85798e02fe20f7dc852e028cc21ca2e7ce71eb3bfeaf04ba1445ef4b8b8f34fcd8d004c4919619f73a5b74d2c6f')
options=(!ccache)
build() {
cd "${_archive}"
./configure --prefix=/usr
make
}
package() {
cd "${_archive}"
make DESTDIR="$pkgdir" MANDIR=/usr/share/man install
# License
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
# Avoid name collision
mv "$pkgdir/usr/share/man/man1/extcheck.1" "$pkgdir/usr/share/man/man1/extcheck-magic.1"
}
|