# Maintainer: mathieui <mathieui(AT)mathieui(DOT)net>
# Contributor: mathieui <mathieui(AT)mathieui(DOT)net>

pkgname=libindicator
pkgver=0.4.1
_pkgbranch=0.4
pkgrel=1
pkgdesc="A set of symbols and convience functions that all indicators would like to use. (Canonical Ayatana Project)"
arch=('i686' 'x86_64')
url="http://launchpad.net/libindicator/"
license=('GPL')
makedepends=('make' 'autoconf')
depends=('gnome-common')
source=(http://launchpad.net/${pkgname}/${_pkgbranch}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
sha512sums=('ed4aff3c045fbb43ea3534a9b147577bb4922d31623a08a7b26430accf7d80ba8b2a7eebf52e32776e33e2f0ee00c137b6a1f7d61d01fb8103c5fdee1ff7cf86')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}