blob: 94fb5250d0e1dc1335ce8784f03fa394ce08fd7e (
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
|
# Maintainer: Cirk2 <privat+aur at cirk2 dot de>
pkgname=sdbus-cpp
pkgver=1.1.0
pkgrel=1
pkgdesc="sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide expressive, easy-to-use API in modern C++"
url="https://github.com/Kistler-Group/sdbus-cpp"
arch=('i686' 'x86_64')
license=('LGPL2.1')
depends=('systemd-libs')
makedepends=('git' 'cmake' 'doxygen' 'systemd')
conflicts=('sdbus-cpp-git')
source=("${pkgname}::git+https://github.com/Kistler-Group/sdbus-cpp.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cmake "$srcdir/${pkgname}" \
-DCMAKE_INSTALL_PREFIX=/ \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_CODE_GEN=ON \
-DBUILD_DOXYGEN_DOC=ON
make
make doc
}
package() {
make DESTDIR="$pkgdir" install
}
|