updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / varkon / PKGBUILD
blob4ab5c2c8540bc1cc7201cec81e989d6b3194eb7a
1 # Contributor: Marco Curreli <marcocurreli@tiscali.it>
2 # Maintainer: Ronny Steiner <post@sirsteiner.de>
3 # AUR Category: science
4 pkgname=varkon
5 pkgver=1.19D
6 pkgrel=1
7 pkgdesc="Powerful parametric 2D/3D CAD, modeling and application development tool"
8 arch=(i686)
9 url="http://varkon.sourceforge.net/"
10 license=('GPL')
11 depends=('xdialog')
12 source=(http://surfnet.dl.sourceforge.net/sourceforge/varkon/Varkon_sources_${pkgver}.tar.gz varkon)
13 noextract=()
14 md5sums=('1bbdf0c1b29393aa3bbaaccda43b21bc' '9bcc588689d09a0dbd75176066e8e9a3')
16 build() {
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/
20         make || return 1
21         mkdir -p $pkgdir/opt
22         mkdir -p $pkgdir/usr
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