summaryrefslogtreecommitdiff
path: root/extra/libbluedevil/PKGBUILD
blob: fef58105faf840882f62424dc915ba854936e578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 119928 2011-04-17 01:27:41Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libbluedevil
pkgver=1.9
pkgrel=1
pkgdesc='A Qt wrapper for bluez used in the new KDE bluetooth stack'
arch=('i686' 'x86_64')
url="https://projects.kde.org/projects/playground/libs/libbluedevil"
license=('GPL')
depends=('qt' 'bluez')
makedepends=('cmake')
source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('5f22614dfb840734da6e8b8710c2472e')

build(){
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}