projects/aports·blob master · refs

41 lines · 1.1 KiB

1# Contributor: André Klitzing <[email protected]>
2# Maintainer: André Klitzing <[email protected]>
3pkgname=buildcache
4pkgver=0.33.0
5pkgrel=0
6pkgdesc="Advanced compiler accelerator"
7url="https://gitlab.com/bits-n-bites/buildcache"
8arch="all !s390x !armhf" # failing tests
9license="Zlib"
10makedepends="
11 openssl-dev>3
12 cmake
13 samurai
14 "
15source="https://gitlab.com/bits-n-bites/buildcache/-/archive/v$pkgver/buildcache-v$pkgver.tar.gz
16 include-cstdint.patch
17 "
18builddir="$srcdir/$pkgname-v$pkgver"
19
20build() {
21 cmake \
22 -B build \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 "src"
26 cmake --build build
27}
28
29check() {
30 cmake --build build --target test
31}
32
33package() {
34 DESTDIR="$pkgdir" cmake --install build
35 rm -rf "$pkgdir/usr/share/lua-examples/"
36}
37
38sha512sums="
39523ad9b695c46e812523eb5b57c41f16d4d38ab421e7e78fc4d977297a30beb3a04feacc81cd56453d00146c4cbcf298b6aa5b2d2f760125d12820fcfab473f1 buildcache-v0.33.0.tar.gz
40c57f6c09cbea6e2781e7d71c58e25659dfb9150779afbadc3a0e4c52de531cc5ecc3094b2b0b9571a0f2542453221c53ca54ed65f7492938d1112fae417c3f36 include-cstdint.patch
41"