1 # Maintainer: vitamin.caig@gmail.com
5 pkgdesc="Utility for text processing while software developing"
7 url="http://textator.googlecode.com"
9 makedepends=('subversion')
11 options=(!strip !docs !libtool !emptydirs !zipman makeflags)
12 _svntrunk="http://textator.googlecode.com/svn/trunk"
14 _options="mode=release platform=linux"
18 if [ -d ${_svnmod}/.svn ]; then
19 (cd ${_svnmod} && svn up -r ${pkgver})
21 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
23 msg "SVN checkout done or server timeout"
26 rm -rf "${srcdir}/${_svnmod}-build"
27 svn export "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
28 cd "${srcdir}/${_svnmod}-build"
29 make ${_options} definitions=TEXTATOR_VERSION=rev${pkgver} -C src
33 cd "${srcdir}/${_svnmod}-build"
34 make DESTDIR="${pkgdir}" ${_options} install -C src