updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kwlan-svn / PKGBUILD
blob1f1a32481963f703fa469c8d332adaf8cbe74068
1 # Contributor: Adam Russ <adam@russ.co.il>
3 pkgname=kwlan-svn
4 arch=('i686' 'x86_64')
5 pkgver=828857
6 pkgrel=1
8 pkgdesc="Kwlan for KDE4 - SVN version of the kde network / wifi manager"
9 url="http://www.kde.org"
10 license=('GPL')
12 depends=('kdebase-runtime' 'automoc4')
13 makedepends=('subversion' 'cmake')
14 provides=('kwlan' 'kwlan-svn')
15 conflicts=('kwlan')
16 source=()
17 md5sums=()
20 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/network/kwlan/
21 _svnmod=kwlan
23 build() {
24         cd $startdir/src
26         svn co $_svntrunk $_svnmod
28         msg "SVN checkout done or server timeout"
29         msg "Starting make..."
31         cp -r $_svnmod $_svnmod-build
32         cd $_svnmod-build
33         
34         cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
36         make VERBOSE=1 || return 1
37         make DESTDIR=$startdir/pkg install || return 1
39         rm -rf $startdir/src/$_svnmod-build