1 # Contributor: ahmad200512@yandex.ru
2 pkgname=tinygettext-svn
5 pkgdesc="A simple gettext replacement that works directly on .po files"
7 url="http://code.google.com/p/tinygettext/"
9 makedepends=('subversion' 'cmake')
10 provides=('tinygettext')
11 conflicts=('tinygettext')
16 _svntrunk=http://tinygettext.googlecode.com/svn/trunk/
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 cp -r $_svnmod $_svnmod-build
34 cmake -D CMAKE_INSTALL_PREFIX=/usr .
36 make DESTDIR=${pkgdir} install || return 1