# Template file for 'network-manager-applet' pkgname=network-manager-applet version=0.9.8.2 revision=1 build_style=gnu-configure configure_args="--disable-static --with-bluetooth" hostmakedepends="pkg-config intltool gobject-introspection" makedepends="GConf-devel libgnome-keyring-devel libsecret-devel NetworkManager-devel>=${version} gnome-bluetooth-devel libnotify-devel polkit-devel libgudev-devel gobject-introspection iso-codes" short_desc="NetworkManager panel applet for GNOME" maintainer="Juan RP " homepage="http://www.gnome.org/projects/NetworkManager/" license="GPL-2" #distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz" distfiles="http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.9/${pkgname}-${version}.tar.xz" checksum=a540c743971c199a7b8663a8d0a38eb66a4c13a6b5124cd3a7495c75560aadc7 libnm-gtk_package() { short_desc+=" - runtime library" replaces="${sourcepkg}<0.9.1.95" pkg_install() { vmove "usr/lib/*.so.*" vmove "usr/lib/girepository-*" } } network-manager-applet-devel_package() { depends="gtk+3-devel NetworkManager-devel>=${version} libnm-gtk-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" vmove usr/share/gir-1.0 } } network-manager-applet_package() { depends="iso-codes NetworkManager>=${version} hicolor-icon-theme" pkg_install() { vmove all } }