blob: 3c1b9bbffe1d65cbb5aad132654877135fb97d29 (
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: Wolfgang Gehrhardt <gehwolf at freenet dot de>
pkgname=samconf
pkgver=0.60.0
pkgrel=1
pkgdesc="A c library to manage confiugrations form differnt verified sources"
arch=('x86_64')
url="https://github.com/Elektrobit/samconf"
license=('MIT')
depends=('glibc' 'bash' 'json-c' 'safu' 'openssl')
makedepends=('cmake' 'git')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgname-$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgname-$pkgver"
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DUNIT_TESTS=off \
-DINSTALL_UNIT_TESTS=off \
-DSAMCONF_MOCK_LIBRARY=off \
-DSAMCONF_DEMOS=off \
-DCMAKE_INSTALL_PREFIX=/usr \
.
make -C build
}
package() {
cd "$pkgname-$pkgname-$pkgver"
make -C build DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha256sums=('752fa36791c07641c7ff2feb867fad60673fe14538741ba685f9b8cad6bc8098')
|