1 # Maintainer: Xiaoan Wu <adaptee at gmail dot com>
6 pkgdesc="BBS client for Linux, written in Qt"
8 url="http://www.qterm.org"
10 depends=('qt' 'openssl')
11 makedepends=('cmake' 'subversion')
16 _svntrunk='https://svn.qterm.org/svnroot/qterm/trunk/qterm-qt4'
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_svnmod-build"
33 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34 cd "$srcdir/$_svnmod-build"
36 # temporary workaround with FindQt4.cmake
37 sed -i '/QT_MIN_VERSION/d' ./CMakeLists.txt
39 cmake -DCMAKE_INSTALL_PREFIX=/usr . || return 1
45 cd "$srcdir/$_svnmod-build"
46 make DESTDIR="$pkgdir/" install