1 #Maintainer: Pietro Bonfa' <bonfus ( at ) gmail.com>
6 pkgdesc="GDIS is a scientific visualization program for the display, manipulation, and analysis of isolated molecules and periodic structures."
8 url="http://gdis.sourceforge.net/"
12 depends=('gtk2' 'gtkglext')
14 makedepends=('cvs' 'perl')
15 source=('makefile' 'gdis.sh')
16 md5sums=('75672b1f8aab349a12dcc8bd257e8722'
17 '2cfe2282636b18174688c5ad2b428385')
19 _cvsroot=":pserver:anonymous@gdis.cvs.sourceforge.net:/cvsroot/gdis"
24 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
25 if [ -d $_cvsmod/CVS ]; then
29 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
33 msg "CVS checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_cvsmod-build"
37 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
38 cp "$srcdir/makefile" "$srcdir/$_cvsmod-build"
39 cd "$srcdir/$_cvsmod-build"
45 install -D -m 0755 gdis "$pkgdir/opt/gdis/gdis"
46 install -D -m 0644 gdis.elements "$pkgdir/opt/gdis/gdis.elements"
47 install -D -m 0644 gdis.library "$pkgdir/opt/gdis/gdis.library"
48 install -D -m 0644 gdis.manual "$pkgdir/opt/gdis/gdis.manual"
50 install -D -m 0755 "$srcdir/gdis.sh" "$pkgdir/usr/bin/gdis"