updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / indicator-appmenu / PKGBUILD
blobce7699be7bea45e40ec6decf62d9173181eba76d
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=indicator-appmenu
3 pkgver=0.3.2
4 pkgrel=2
5 pkgdesc="An indicator to host the menus from an application"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/indicator-appmenu"
8 license=('GPL')
9 depends=('libindicator>=0.3.19' 'libdbusmenu>=0.3.3' 'bamf>=0.2.53')
10 true && depends=('libindicator3>=0.3.19' 'libdbusmenu-gtk3>=0.3.3' 'bamf>=0.2.53')
11 makedepends=('gtk-doc')
12 optdepends=('appmenu-gtk2: support for GTK+ 2 apps'
13             'appmenu-gtk3: support for GTK+ 3 apps'
14             'appmenu-qt: support for Qt apps'
15             'libreoffice-extension-menubar: support for LibreOffice')
16 options=(!libtool)
17 source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz
18         make-tests-optional.patch)
19 md5sums=('69e62c37565dfc8e8bd249801bc21dd7'
20          'd81424dffda459b9fa1ac865f2f0302d')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
24   patch -Np1 -i "$srcdir/make-tests-optional.patch"
26   autoreconf -fi
27   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
28               --disable-static
29   make
32 package() {
33   cd "$srcdir/$pkgname-$pkgver"
35   make DESTDIR="$pkgdir/" install