1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pkgname=indicator-application
pkgver=0.2.94
pkgrel=1
pkgdesc="A library and indicator to take menus from applications and place them in the panel."
arch=('i686' 'x86_64')
url="https://launchpad.net/indicator-application"
license=('GPL')
groups=('ayatana')
depends=('libindicator>=0.3.19' 'libdbusmenu>=0.2.2')
makedepends=('vala' 'gtk-sharp-2>=2.12.1' 'pygtk>=2.14.0' 'gobject-introspection')
options=('!libtool')
source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('3773f938a3375715776bc9a412dba9c7')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  automake
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
              --disable-static \
              PYTHON=python2
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}