blob: 0a0ce0f9f879720e6e6c5d6934a3cd7b0cfdf4e7 (
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
|
# Maintainer: Nikolas Koesling <nikolas@koesling.network>
pkgname=cxxshm
pkgrel=1
pkgver=2.0.2
pkgdesc="A C++ library to handle POSIX shared memory"
url="https://github.com/NikolasK-source/cxxshm"
license=('MIT')
arch=('x86_64' 'aarch64')
makedepends=('cmake')
source=("git+https://github.com/NikolasK-source/cxxshm.git#tag=v${pkgver}")
sha256sums=('SKIP')
prepare() {
cd cxxshm
mkdir -p build
cmake -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=OFF -DCOMPILER_WARNINGS=OFF -DCLANG_TIDY=OFF -DBUILD_DOC=OFF -B build .
}
build() {
cd cxxshm
cmake --build build
}
package() {
cd cxxshm
cmake --install build --config Release --prefix "${pkgdir}/usr"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
|