Rasmus Thomsen ab6bc37ef8 community/ldc: disable on x86
Also disable dependants. LDC currently can't build on x86 because GDC
is broken on x86 due to time_t changes in musl 1.2. Once
https://github.com/dlang/druntime/pull/3313 landed we can re-enable
this.
2020-12-14 16:34:35 +01:00

28 lines
820 B
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libdparse
pkgver=0.15.1
pkgrel=0
pkgdesc="Library for lexing and parsing D source code"
url="https://libdparse.dlang.io/"
arch="x86_64 aarch64" # ldc
license="BSL-1.0"
makedepends="meson ldc ldc-runtime stdx-allocator-dev"
subpackages="$pkgname-dev"
source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$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="339fa055247f7eef4807a60aaf910f3558054b97afd453b08088b80216c9707b178f3b4199f782b105f9ad0b5802453afaea7815cb688f569a96de5f0c19c02e libdparse-0.15.1.tar.gz"