# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=network-manager-applet pkgver=0.9.8.8 pkgrel=0 pkgdesc="gtk applet for network manager" url="http://projects.gnome.org/NetworkManager" arch="all" license="GPL" depends= depends_dev="networkmanager-dev gconf-dev libgnome-keyring-dev libnotify-dev libsecret-dev" makedepends="$depends_dev iso-codes" install="" subpackages="$pkgname-dev $pkgname-lang" source="http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/${pkgver%.*.*}/network-manager-applet-$pkgver.tar.xz" _builddir="$srcdir"/network-manager-applet-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="cceb4530e438926b66dfa5e9db17f20a network-manager-applet-0.9.8.8.tar.xz" sha256sums="581ebf9ead919e33d7e910322c2f64919f98716d8636f1a640b72c9b2e3ba9eb network-manager-applet-0.9.8.8.tar.xz" sha512sums="a43cb00ac60b9401a035aac22a3384625624ca7e3b852106c55c1dc79a6a409d68f482615df6420778cafee0eb38e0088768198de78af52358db48ce9b7222f7 network-manager-applet-0.9.8.8.tar.xz"