blob: 35209c302f6dbda03fcd2a3e8f68163b1150d47c (
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
|
# Maintainer: Vladislav Semyonoff <vsemyonoff@gmail.com>
pkgname=cmdd
pkgver=1.0.2
pkgrel=1
pkgdesc='ConnMan D-bus network state Dispatcher'
url='https://github.com/vsemyonoff/cmdd'
arch=('x86_64')
license=('GPL')
install="${pkgname}.install"
depends=('sdbus-cpp')
makedepends=('cmake')
validpgpkeys=('F22C0C7E78F39CD3724529D7DAB2782BD0363778')
source=("${url}/archive/v${pkgver}.tar.gz")
md5sums=('d5eb5055136c6dac2744a0126e0cc39b')
build() {
mkdir -p "${srcdir}/build"
cd "${srcdir}/build"
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_STAGING_PREFIX="${pkgdir}/usr" \
-DCMAKE_BUILD_TYPE="Release" \
"${srcdir}/${pkgname}-${pkgver}"
cmake --build . --target all
}
package() {
cd "${srcdir}/build"
cmake --install .
cd "${srcdir}/${pkgname}-${pkgver}"
cp -R "examples" "${pkgdir}/usr/share/cmdd"
}
|