# Maintainer: György Balló <ballogy@freestart.hu>
pkgname=libunity
pkgver=5.92.0
pkgrel=1
pkgdesc="A library for instrumenting and integrating with all aspects of the Unity shell"
arch=('i686' 'x86_64')
url="https://launchpad.net/libunity"
license=('LGPL')
depends=('libgee' 'dee' 'libdbusmenu' 'dbus-glib')
makedepends=('vala' 'python2' 'gobject-introspection')
options=('!libtool')
source=(http://launchpad.net/$pkgname/6.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('afc7b75e117d3516cdcf6ec56fcb5850')
build() {
cd "$srcdir/$pkgname-$pkgver"
# Disable building tests
sed -i '/test \\/ d' Makefile.in
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static \
PYTHON=python2
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}