PKGBUILDs/extra/kdebluetooth/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
920 B
Bash

# $Id: PKGBUILD 27186 2009-02-16 22:40:17Z jgc $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=kdebluetooth
pkgver=4.0.3
_realver=0.3
pkgrel=2
pkgdesc="A collection of Bluetooth utilities and modules for KDE based on BlueZ"
arch=('i686' 'x86_64')
url="http://bluetooth.kmobiletools.org/"
license=('GPL2')
depends=('kdebase-workspace>=4.2.0-3' 'bluez' 'obex-data-server')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'perl')
optdepends=('python')
source=(http://downloads.sourceforge.net/kde-bluetooth/${pkgname}4-${_realver}.tar.bz2)
md5sums=('e37438e8e597abe9c684acaf3aa1bb39')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}4-${_realver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}