updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / network-manager-applet-notify-osd / PKGBUILD
blobb28ad8fe5d1bb12b6da97a399cca88b3043b3eb4
1 # $Id: PKGBUILD 59764 2009-11-27 15:03:14Z ibiru $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contrinutor: Arjan Timmerman <arjan@archlinux.org>
4 # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
5 # Contributor: Tor Krill <tor@krill.nu>
6 # Contributor: Will Rea <sillywilly@gmail.com>
7 # Contributor: Peter Bui <pnutzh4x0r@gmail.com>
9 _pkgname=network-manager-applet
10 pkgname=${_pkgname}-notify-osd
11 pkgver=0.8.2
12 pkgrel=4
13 pkgdesc="GNOME frontends to NetWorkmanager"
14 arch=(i686 x86_64)
15 license=('GPL')
16 url="http://www.gnome.org/projects/NetworkManager/"
17 makedepends=('pkgconfig' 'intltool')
18 depends=('networkmanager>=0.8.2' 'libglade' 'libgnome-keyring' 'polkit-gnome' 'notify-osd' 'libnotify' 'mobile-broadband-provider-info')
19 makedepends=('intltool' 'gnome-bluetooth')
20 optdepends=('gnome-bluetooth: for PAN/DUN support')
21 conflicts=('network-manager-applet')
22 options=('!libtool')
23 install=${_pkgname}.install
24 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/0.8/${_pkgname}-${pkgver}.tar.bz2 lp289466_always_show_tray_icon.patch lp295788_xfce_menu_entry.patch lp328572-dxteam-connect-text.patch lp330571_dxteam_wired_connect_text.patch lp330608_dxteam_gsm_connect_text.patch lp341684_device_sensitive_disconnect_notify.patch lp358526_generic_disconnected_notification_icon.patch lp460144_correctly_update_notification.patch lp337960_dxteam_notification_icon_names.diff lp337960_dxteam_notification_icon_names_part2-images.diff strict_enum_check.patch notify_without_statusicon.patch workaround-nm-applet-0.8.2-libnotify-0.7.patch) 
26 build() {
27   cd "${srcdir}/${_pkgname}-${pkgver}"
29   for p in ${srcdir}/*.patch ${srcdir}/*.diff; do
30       patch -p1 < $p
31   done
33   ./configure --prefix=/usr --sysconfdir=/etc \
34       --localstatedir=/var \
35       --libexecdir=/usr/lib/networkmanager \
36       --disable-static \
37       --disable-maintainer-mode
38   make
39   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
41   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
42   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" --domain nm-applet ${pkgdir}/etc/gconf/schemas/*.schemas
43   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
45 md5sums=('e35d3c391edca440c24032e05870c130'
46          'd53803076796e06654e1299133d17afd'
47          '46a3cf7f5b4ed5775b92c2c97255c9cd'
48          '70c9ec45fed405d2bf3e8627206e8b76'
49          '110dfeaef8e6a94ce5927f19e45623c7'
50          'e3cbe31ff25cb3953a73021b2f181596'
51          '7a84944c9df02d23f0b600b521cb8ecc'
52          '98f6f36d83331fa3ca9e3073c095235a'
53          '21c6815e5c50ce764988bb6199b6a1d0'
54          '62e9a60e71201497b70ee327e6190c4f'
55          '96c93ae3601019b0818f764fbc821bb4'
56          '0eea810f01a7e4ebda7a464838cdd6c8'
57          'eaaf925fb3d75b2d65e01ea2f680296d'
58          'df8c783f7f9ea1902d8125e1debc47ab')