PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/msgpack-c/PAGBUILD.yaml main

36 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536
pkgname: 'msgpack-c'
pkgver: '7.0.1'
pkgrel: '2'
pkgdesc: 'An efficient object serialization library'
url: 'https://msgpack.org/'
arch: x86_64
depends: []
makedepends:
- cmake

source:
- 'https://github.com/msgpack/msgpack-c/releases/download/c-${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  mkdir -p build
  cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_C_STANDARD='17' \
        -DBUILD_SHARED_LIBS=ON \
        -DMSGPACK_ENABLE_STATIC=OFF \
        -DMSGPACK_BUILD_EXAMPLES=OFF \
        -DMSGPACK_BUILD_TESTS=OFF \
        ..

  make -j$(nproc)
  make DESTDIR=${PKGDIR} install

package: |
  true