aboutsummaryrefslogblamecommitdiffstats
path: root/community/aixlog/APKBUILD
blob: 4623b3ba4ce011a71f2c288f0b8bf0a1a4cb1c45 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                 
              
            




                                         
                   
                           
                                                                                 
 







                                             
           
                                               

 
                                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=aixlog
pkgver=1.5.0
pkgrel=0
pkgdesc="Header-only C++ logging library"
url="https://github.com/badaix/aixlog"
arch="noarch"
license="MIT"
makedepends="cmake"
options="!check" # not test
source="https://github.com/badaix/aixlog/archive/v$pkgver/aixlog-v$pkgver.tar.gz"

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

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

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