summaryrefslogtreecommitdiff
path: root/extra/libbluedevil/PKGBUILD
blob: b35f4db2c9083c17f0a876d7ba166073f3a650a9 (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
# $Id: PKGBUILD 180983 2013-03-29 12:07:34Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libbluedevil
pkgver=1.9.3
pkgrel=1
pkgdesc='A Qt4 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=('qt4' 'bluez')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('fcb1480feba45dcd076b3ee54150bdf5')

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

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