desktop/tools-pkg-bluedevil-git/PKGBUILD
2010-07-28 23:43:25 +00:00

50 lines
1.1 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=bluedevil-git
pkgver=20100727
pkgrel=1
pkgdesc='The new bluetooth stack for KDE, its composed of: KCM, KDED, KIO, Library and some other small applications'
arch=('i686' 'x86_64')
url="http://gitorious.org/bluedevil"
license=('GPL')
depends=('kdebase-workspace' 'libbluedevil' 'obex-data-server' 'obexd-client')
makedepends=('cmake' 'automoc4' 'git')
provides=(bluedevil)
conflicts=(bluedevil)
source=()
md5sums=()
_gitroot="git://gitorious.org/bluedevil/bluedevil.git"
_gitname="bluedevil"
build(){
cd ${srcdir}
if [[ -d $_gitname ]]; then
(cd $_gitname && git pull origin)
else
git clone $_gitroot $_gitname
fi
mkdir build
cd build
cmake ../${_gitname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}