PKGBUILD 675 Bytes
Newer Older
AlmAck's avatar
AlmAck committed
1 2 3 4
source ../frameworks.conf

pkgname=bluez-qt
pkgver=${KFVersion}
AlmAck's avatar
AlmAck committed
5
pkgrel=2
AlmAck's avatar
AlmAck committed
6 7 8 9 10 11
pkgdesc='Qt wrapper for Bluez 5 DBus API'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/bluez-qt'
license=(GPL2)
depends=('qt5-declarative' 'bluez')
makedepends=('extra-cmake-modules')
12 13
groups=(kf5)
options=("debug")
AlmAck's avatar
AlmAck committed
14 15 16 17
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
                        SKIP)
validpgpkeys=( ${KFvalidpgpkeys} )
AlmAck's avatar
AlmAck committed
18 19 20 21 22 23 24

prepare() {
  mkdir -p build
}

build() {
  cd build
AlmAck's avatar
AlmAck committed
25
  cmake_kf5 -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d ../${pkgname}-${pkgver}
AlmAck's avatar
AlmAck committed
26 27 28 29 30 31 32 33
  make
}

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