1 # Contributor: Jon Sturm <Jasturm002@aol.com>
6 pkgdesc="TI graphing calculator link/transfer program"
8 url="http://tilp.info/"
10 depends=('libglade' 'libticalcs' 'libticables')
11 makedepends=('subversion')
12 provides=('tilp' 'tilp2')
13 conflicts=('tilp' 'tilp2')
14 options=('force' '!libtool')
17 md5sums=('e2bb0d7ff6c3b0e60ff82213480f6d15'
18 'd387dfdabe9c2eb25830a686b09e9fc3')
19 #md5sums=() #generate with 'makepkg -g'
22 _svntrunk=http://svn.tilp.info/repos/tilp/$_svnmod/trunk
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_svnmod-build"
37 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
38 cd "$srcdir/$_svnmod-build"
40 #KDE users can remove the --without-kde option to enable kde file dialogs
41 ./configure --prefix=/usr --without-kde
43 make DESTDIR="$pkgdir/" install
45 install -m755 -d ${pkgdir}/usr/share/applications
46 install -m644 ${srcdir}/tilp.desktop ${pkgdir}/usr/share/applications
48 install -m755 -d ${pkgdir}/usr/share/mime/packages
49 install -m644 ${srcdir}/tilp.xml ${pkgdir}/usr/share/mime/packages