1 # Maintainer: t3ddy <t3ddy1988 "at" gmail {dot} com>
3 pkgname=yawp-weather-plasmoid-svn
6 pkgdesc="Colorful kdeplasma weather plasmoid"
8 url="http://www.kde-look.org/content/show.php/yaWP+(Yet+Another+Weather+Plasmoid)?content=94106"
9 depends=('kdebase-workspace>=4.2' 'gettext')
10 makedepends=('cmake' 'make' 'automoc4')
11 conflicts=('kde-extragear-plasmoids' 'yawp-weather-plasmoid')
12 provides=('yawp-weather-plasmoid')
16 _svntrunk="https://yawp.svn.sourceforge.net/svnroot/yawp/trunk"
19 msg "Starting SVN checkout..."
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
32 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` . || return 1
33 make DESTDIR=${pkgdir} install || return 1