desktop/tools-pkg-bluedevil-git/PKGBUILD

52 lines
1.4 KiB
Bash
Raw Normal View History

2010-07-29 07:43:25 +08:00
#
# 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=20101018
2010-08-01 08:01:52 +08:00
pkgrel=1
2010-07-29 07:43:25 +08:00
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')
2010-07-30 01:55:42 +08:00
depends=('kdelibs' 'libbluedevil' 'obex-data-server' 'obexd-client') # kdebase-workspace
2010-07-29 07:43:25 +08:00
makedepends=('cmake' 'automoc4' 'git')
provides=(bluedevil)
conflicts=(bluedevil)
source=("http://chakra-project.org/sources/bluedevil/bluedevil-$pkgver.tar.xz")
md5sums=('4dfb05c0ecb4d8c0c55d7cd01f54198b') # bluedevil-20101018.tar.xz
2010-07-30 01:55:42 +08:00
# create tarball: source PKGBUILD && mksource
2010-07-29 07:43:25 +08:00
mksource() {
git clone git://gitorious.org/bluedevil/bluedevil.git
pushd bluedevil
popd
tar -cvJf bluedevil-${pkgver}.tar.xz bluedevil/*
md5sum bluedevil-${pkgver}.tar.xz
}
2010-07-29 07:43:25 +08:00
build(){
cd ${srcdir}
mkdir -p bluedevil-build
cp -R bluedevil/* bluedevil-build
cd bluedevil-build
2010-07-30 01:55:42 +08:00
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
2010-07-29 07:43:25 +08:00
make
}
package() {
cd ${srcdir}/bluedevil-build
2010-07-29 07:43:25 +08:00
make DESTDIR=${pkgdir} install
rm -R ${srcdir}/bluedevil-build
2010-07-29 07:43:25 +08:00
}