aboutsummaryrefslogtreecommitdiffstats
path: root/community/aixlog/APKBUILD
blob: e43b6aa67b0731d3d4ad3a105bcd320573ade8d7 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=aixlog
pkgver=1.5.0
pkgrel=2
pkgdesc="Header-only C++ logging library"
url="https://github.com/badaix/aixlog"
arch="noarch"
license="MIT"
makedepends="cmake samurai"
options="!check" # not test
source="https://github.com/badaix/aixlog/archive/v$pkgver/aixlog-v$pkgver.tar.gz"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=MinSizeRel \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_EXAMPLE=OFF
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
28556feac1fa804b8a4dc047471e0a6d4c4fb7d81487810d55b09dd1be878246b8bf9f2097b76a980284318823c287bd0a93dd7a3124425a1ea9aced757152b6  aixlog-v1.5.0.tar.gz
"