updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / indicator-network / PKGBUILD
blob0c7533ed54314418a28069a318a49ea71846c8e5
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=indicator-network
3 pkgver=0.3.8
4 pkgrel=2
5 pkgdesc="Network Menu for controlling network connections. Uses Connection Manager."
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/indicator-network"
8 license=('GPL')
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')
12 options=(!libtool)
13 install=$pkgname.install
14 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
15         generate_vapi.patch
16         gtk3-vala-port.patch)
17 md5sums=('70ebd79a1087981adacf3107a17136af'
18          '5540bbcba5b1fd83fd47f4e5424830d5'
19          '4a74a47545b56b7b093730073739aba7')
21 build() {
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"
27   autoreconf -fi
28   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
29               --disable-static
30   make
33 package() {
34   cd "$srcdir/$pkgname-$pkgver"
36   make DESTDIR="$pkgdir/" install