1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: mosra <mosra@centrum.cz>
7 pkgdesc='The new bluetooth stack for KDE, it’s composed of: KCM, KDED, KIO, Library and some other small applications'
9 url="http://gitweb.kde.org/bluedevil.git"
11 depends=('kdebase-workspace' 'libbluedevil' 'obex-data-server' 'obexd-client')
12 makedepends=('cmake' 'automoc4' 'git')
18 _gitroot="git://anongit.kde.org/bluedevil.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
28 # Change remote url to anongit
29 if [ -z "$(git remote -v | grep anongit)" ] ; then
30 git remote set-url origin ${_gitroot}
34 msg "The local files are updated."
36 git clone $_gitroot $_gitname
39 msg "GIT checkout done or server timeout"
40 msg "Starting make..."
42 mkdir -p "$srcdir/build"
45 cmake ../${_gitname} \
46 -DCMAKE_BUILD_TYPE=Release \
47 -DCMAKE_SKIP_RPATH=ON \
48 -DCMAKE_INSTALL_PREFIX=/usr
54 make DESTDIR=${pkgdir} install