# $Id: PKGBUILD 198342 2013-10-30 14:17:08Z allan $ # Maintainer: Jan de Groot # Contributor: Arjan Timmerman # Contributor: Wael Nasreddine # Contributor: Tor Krill # Contributor: Will Rea pkgname=network-manager-applet pkgver=0.9.8.4 pkgrel=2 pkgdesc="GNOME frontends to NetWorkmanager" arch=(i686 x86_64) license=(GPL) url="http://www.gnome.org/projects/NetworkManager/" depends=("networkmanager>=${pkgver%.*}" libsecret gtk3 libnotify gnome-icon-theme mobile-broadband-provider-info iso-codes) makedepends=(intltool gnome-bluetooth gobject-introspection) optdepends=('gnome-bluetooth: for PAN/DUN support') options=('!emptydirs') install=network-manager-applet.install source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.9/$pkgname-$pkgver.tar.xz) sha256sums=('f68849291047c94487279aab4a6cb90945ad351df02da621a73b413e6c6c198c') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/networkmanager \ --disable-static \ --disable-maintainer-mode \ --disable-migration \ --with-modem-manager-1 # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }