1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
6 pkgdesc="Full emulator of PMD85 (svn)"
8 url="http://dsrg.mff.cuni.cz/~ceres/prj/SimPMD/"
10 depends=('sdl' 'python' 'popt' 'doxygen')
11 source=('simpmd.desktop')
12 md5sums=('8fba184b70c9eea6cbe63a9b567fd8b7')
14 _svntrunk="http://shiva.ms.mff.cuni.cz/svn/simpmd/trunk"
21 msg "Connecting to $_svntrunk ..."
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up) || return 1
25 svn co $_svntrunk $_svnmod || return 1
27 msg "SVN checkout done or server timeout"
29 install -D -m644 $srcdir/simpmd.desktop $pkgdir/usr/share/applications/simpmd.desktop
32 mkdir -p $pkgdir/usr/share/{doc/simpmd-${pkgver},simpmd}
33 make PMD_BUILD=RELEASE PMD_SHARE=/usr/share/simpmd/
34 chmod 755 data/monitors/M{1,2,2-Patched-Tape}
36 #ln -s monitors/M1 ./M1
37 #ln -s monitors/M2-Patched-Tape ./M2
43 install -D -m755 bin/simpmd $pkgdir/usr/bin/simpmd
44 install -D -m755 bin/ptp2raw $pkgdir/usr/bin/ptp2raw
46 install -D -m644 * $pkgdir/usr/share/doc/simpmd-${pkgver} || true
47 cd $srcdir/simpmd/data
48 /bin/tar cf - --exclude=.svn * | ( cd ../../../pkg/usr/share/simpmd/; tar xfp - )