updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / plasma-globalmenu / PKGBUILD
blob03ab4fe6ed4e2b65e0a950da87bfbe698b33e4e8
1 # Contributor: Dmytro Kostiuchenko <edio@gmx.us>
2 # Maintainer: Dmytro Kostiuchenko <edio@gmx.us>
3 arch=(i686 x86_64)
4 pkgname=plasma-globalmenu
5 pkgver=1013055
6 pkgrel=3
7 pkgdesc="Said to provide GTK+ support for Bespin Xbar"
8 url="http://websvn.kde.org/trunk/playground/base/plasma/globalmenu/"
9 license="GPL"
10 depends=('kdebase-workspace' 'bespin-svn' 'gnome-globalmenu')
11 makedepends=('subversion' 'cmake' 'automoc4')
12 options=('!strip')
14 source=(globalmenu.diff)
15 md5sums=(4b1f908e7a912d4d8d24aecfd231d833)
17 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/globalmenu
18 _svnmod=plasma-globalmenu
20 build() {
21   cd ${srcdir}
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up -r $pkgver)
25   else
26     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   fi
29   msg "Starting make..."
31   cp -r $_svnmod $_svnmod-build
32   cd $_svnmod-build
33   patch -Np1 -i ../globalmenu.diff
34   cmake -DCMAKE_INSTALL_PREFIX=/usr .
35   make || return 1
36   make DESTDIR=${pkgdir} install
38   rm -rf ${srcdir}/$_svnmod-build
40 # vim:syntax=sh