1 # Contributor: yannsen <ynnsen@gmail.com>
5 pkgdesc="A text editor for CNC programmers"
7 url="http://sourceforge.net/projects/edytornc/"
10 makedepends=(subversion)
14 _svntrunk="https://edytornc.svn.sourceforge.net/svnroot/edytornc"
19 msg "Connecting to SVN server...."
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 if [ -d "${srcdir}/${_svnmod}-build" ]; then
30 rm -rf "${srcdir}/${_svnmod}-build"
33 svn export $_svnmod $_svnmod-build
37 qmake -unix -o Makefile edytornc.pro
38 cd $srcdir/$_svnmod/src/
39 qmake -unix -o Makefile src.pro
47 install -d $pkgdir/usr/bin/
48 install -m755 $srcdir/$_svnmod/bin/$CARCH/edytornc $pkgdir/usr/bin/
51 # vim:set ts=2 sw=2 et: