1 # Contributor: Dmytro Kostiuchenko <edio@gmx.us>
2 # Maintainer: Dmytro Kostiuchenko <edio@gmx.us>
4 pkgname=plasma-globalmenu
7 pkgdesc="Said to provide GTK+ support for Bespin Xbar"
8 url="http://websvn.kde.org/trunk/playground/base/plasma/globalmenu/"
10 depends=('kdebase-workspace' 'bespin-svn' 'gnome-globalmenu')
11 makedepends=('subversion' 'cmake' 'automoc4')
14 source=(globalmenu.diff)
15 md5sums=(4b1f908e7a912d4d8d24aecfd231d833)
17 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/globalmenu
18 _svnmod=plasma-globalmenu
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "Starting make..."
31 cp -r $_svnmod $_svnmod-build
33 patch -Np1 -i ../globalmenu.diff
34 cmake -DCMAKE_INSTALL_PREFIX=/usr .
36 make DESTDIR=${pkgdir} install
38 rm -rf ${srcdir}/$_svnmod-build