1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=indicator-network
5 pkgdesc="Network Menu for controlling network connections. Uses Connection Manager."
7 url="https://launchpad.net/indicator-network"
9 depends=('libindicator>=0.3.0' 'libdbusmenu>=0.3.90' 'libnotify>=0.7.1' 'libgee' 'connman' 'dbus-python' 'pygtk' 'mobile-broadband-provider-info' 'hicolor-icon-theme' 'xdg-utils')
10 true && depends=('libindicator3>=0.3.0' 'libdbusmenu-gtk3>=0.3.90' 'libnotify>=0.7.1' 'libgee' 'connman' 'dbus-python' 'pygtk' 'mobile-broadband-provider-info' 'hicolor-icon-theme' 'xdg-utils')
11 makedepends=('intltool>=0.35.0' 'vala')
13 install=$pkgname.install
14 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
17 md5sums=('70ebd79a1087981adacf3107a17136af'
18 '5540bbcba5b1fd83fd47f4e5424830d5'
19 '4a74a47545b56b7b093730073739aba7')
22 cd "$srcdir/$pkgname-$pkgver"
23 sed -i 's@^#!.*python$@#!/usr/bin/python2@' scripts/*
24 patch -Np1 -i "$srcdir/generate_vapi.patch"
25 patch -Np1 -i "$srcdir/gtk3-vala-port.patch"
28 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
34 cd "$srcdir/$pkgname-$pkgver"
36 make DESTDIR="$pkgdir/" install