1 # Contributor: Leonardo A. Gallego <leonardo@archlinux-es.org>
2 pkgname=knetworkmanager
8 pkgdesc="A NetworkManager front-end for kde3 and kde4, based in version 0.2.2 stable"
9 url="http://en.opensuse.org/Projects/KNetworkManager"
10 depends=('networkmanager>=0.6.6' 'kdelibs3' 'dbus-qt3')
11 makedepends=('pkgconfig')
12 source=("ftp://ftp.kde.org/pub/kde/stable/apps/KDE3.x/network/${pkgname}-${pkgver}.tar.bz2" \
14 md5sums=('82ba5d7987b147db783fbcb97ed74369' 'fc827365f8e36f7721cfe978b9b41fee')
17 cd $startdir/src/$pkgname-$pkgver
20 patch -p1 -i $startdir/src/policy-fix.patch || return 1
22 ./configure --with-distro=arch --prefix=/opt/kde --sysconfdir=/etc \
23 --without-arts --with-dialup --with-pptp --with-vpnc \
24 --with-qt-dir=/opt/qt --enable-final || return 1
26 make DESTDIR=$startdir/pkg/ install || return 1