1 # QSplashy-Arch Subversion Package
2 # Contributor: Dario Freddi (drf54321@gmail.com)
4 pkgname=qsplashy-arch-svn
7 pkgdesc="A Qt4 Splashy frontend tweaked for Arch Linux"
8 url="http://kdemod.ath.cx"
10 arch=('i686' 'x86_64')
11 depends=('qt>=4.3.0' 'splashy')
12 makedepends=('subversion' 'cmake')
14 conflicts=('qsplashy' 'qsplashy-arch')
18 _svnmod="qsplashy-arch"
19 _svntrunk="http://kdemod.ath.cx/svn/tools/qsplashy-arch/"
23 #mkdir -p ~/.subversion; touch ~/.subversion/servers
24 msg "Connecting to the SVN server...."
25 svn co $_svntrunk $_svnmod
27 [ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
28 cp -r ./$_svnmod ./$_svnmod-build
31 msg "SVN checkout done or server timeout"
32 msg "Starting cmake..."
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
36 msg "Starting make..."
40 msg "Make successful, installing..."
42 make DESTDIR=$startdir/pkg install || return 1
45 find $startdir/pkg/ -name ".svn" -type d -exec rm -fr {} +