1 # Contributor: Marco Curreli <marcocurreli@tiscali.it>
2 # Maintainer: Ronny Steiner <post@sirsteiner.de>
3 # AUR Category: science
7 pkgdesc="Powerful parametric 2D/3D CAD, modeling and application development tool"
9 url="http://varkon.sourceforge.net/"
12 source=(http://surfnet.dl.sourceforge.net/sourceforge/varkon/Varkon_sources_${pkgver}.tar.gz varkon)
14 md5sums=('1bbdf0c1b29393aa3bbaaccda43b21bc' '9bcc588689d09a0dbd75176066e8e9a3')
17 cd ${srcdir}/Varkon_${pkgver}/sources/EX/src/
18 sed -i -e ' 240 s/h_addr/h_addr_list[0]/' extcp.c
19 cd ${srcdir}/Varkon_${pkgver}/sources/
23 mkdir -p $pkgdir/usr/bin
24 cp -r $srcdir/Varkon_${pkgver} $pkgdir/opt/varkon
25 cp $startdir/varkon $pkgdir/usr/bin/
26 chown root:root $pkgdir/usr/bin/varkon
27 chmod 0755 $pkgdir/usr/bin/varkon