2021-03-21 15:08:54 +00:00

28 lines
757 B
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=msgpack-d
pkgver=1.0.2
pkgrel=1
pkgdesc="MessagePack for D"
url="https://msgpack.org/"
arch="x86_64 aarch64" # ldc
license="BSL-1.0"
makedepends="meson ldc ldc-runtime"
subpackages="$pkgname-dev"
source="https://github.com/msgpack/msgpack-d/archive/v$pkgver/msgpack-d-$pkgver.tar.gz"
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="a3c51e2030fa8e30925e4bf75386cd355b4bbe1c0e07a4be81c7c70224e0b6c41e58efe1cc4bfb82c9720b62ef92d54252729554d70ce9e13f78222045a64641 msgpack-d-1.0.2.tar.gz"