updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / knetworkmanager / PKGBUILD
blob3b058dcf70942fc86f321287a235572cf1e51d41
1 # Contributor: Leonardo A. Gallego <leonardo@archlinux-es.org>
2 pkgname=knetworkmanager
3 pkgver=0.2.2
4 pkgrel=4
5 license=('GPL')
6 arch=('i686' 'x86_64')
7 options=(libtool)
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" \
13         'policy-fix.patch')
14 md5sums=('82ba5d7987b147db783fbcb97ed74369' 'fc827365f8e36f7721cfe978b9b41fee')
16 build() {
17         cd $startdir/src/$pkgname-$pkgver
19         cd knetworkmanager
20         patch -p1 -i $startdir/src/policy-fix.patch || return 1
21         cd ..
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
25         make || return 1
26         make DESTDIR=$startdir/pkg/ install || return 1