updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kbluetooth / PKGBUILD
blob9ee0e7d4c989321e506943084a1b17f21fa165c5
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Thomas Baechler <thomas@archlinux.org>
5 pkgname=kbluetooth
6 pkgver=0.4.2
7 pkgrel=1
8 pkgdesc="A collection of Bluetooth utilities and modules for KDE based on BlueZ"
9 arch=('i686' 'x86_64')
10 url="http://www.kde-apps.org/content/show.php/kbluetooth?content=112110"
11 license=('GPL2')
12 depends=('kdebase-workspace' 'bluez' 'obex-data-server')
13 makedepends=('pkgconfig' 'cmake' 'automoc4' 'perl')
14 optdepends=('python')
15 replaces=('kdebluetooth')
16 conflicts=('kdebluetooth')
17 install=kbluetooth.install
18 source=(http://www.kde-apps.org/CONTENT/content-files/112110-${pkgname}-${pkgver}.tar.bz2)
19 md5sums=('f64e2c0133bc76aa119a5d453d760851')
21 build() {
22   cd ${srcdir}
23   mkdir build
24   cd build
25   cmake ../${pkgname}-${pkgver} \
26     -DCMAKE_BUILD_TYPE=Release \
27     -DCMAKE_INSTALL_PREFIX=/usr
28   make
31 package() {
32   cd ${srcdir}/build
33   make DESTDIR=${pkgdir} install