updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / plasma-widget-menubar / PKGBUILD
blobc9b932dfcecfa51c00a4b72ac6ef88f96e072ea0
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=plasma-widget-menubar
3 pkgver=0.1.16
4 pkgrel=1
5 pkgdesc="A Plasma widget to display menubar of application windows"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/plasma-widget-menubar"
8 license=('GPL')
9 depends=('kdelibs>=4.4' 'qjson')
10 makedepends=('cmake>=2.6' 'automoc4')
11 optdepends=('appmenu-gtk2: support for GTK+ 2 apps'
12             'appmenu-gtk3: support for GTK+ 3 apps'
13             'appmenu-qt: support for Qt apps'
14             'libreoffice-extension-menubar: support for LibreOffice')
15 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.bz2)
16 md5sums=('ee8566cd175b552726bc6d74dbb8756b')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   mkdir build
22   cd build
23   cmake .. -DCMAKE_BUILD_TYPE=Release \
24            -DCMAKE_INSTALL_PREFIX=/usr
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver/build"
31   make DESTDIR="$pkgdir/" install