blob: e06b5db2018572e34686026379fcebcdb39690f6 (
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
|
# Maintainer:
# Contributor: James P. Harvey <jamespharvey20 at gmail dot com>
pkgname=libcelero
pkgver=2.8.5
pkgrel=1
pkgdesc="C++ benchmark authoring library/framework"
arch=('i686' 'x86_64')
url="https://github.com/DigitalInBlue/Celero"
license=('Apache-2.0')
depends=('gcc-libs' 'glibc')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('1f319661c4bee1f6855e45c1764be6cd38bfe27e8afa8da1ad7060c1a793aa20')
build() {
cmake -B build -S "Celero-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|