blob: 19e38feca51f61c1d1a090d2ad806eb68b52428e (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=bluez-qt-git
pkgver=r374.7b59f83
pkgrel=1
pkgdesc='Qt wrapper for Bluez 5 DBus API'
arch=(i686 x86_64)
url='https://projects.kde.org/projects/playground/libs/libbluedevil'
license=(GPL2)
depends=(qt5-declarative bluez)
makedepends=(extra-cmake-modules-git git)
provides=(bluez-qt)
conflicts=(libbluedevil-frameworks bluez-qt)
source=("git://anongit.kde.org/bluez-qt.git")
sha256sums=('SKIP')
pkgver() {
cd bluez-qt
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../bluez-qt \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|