pkgbase = ldc
	pkgdesc = A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2
	pkgver = 1.39.0
	pkgrel = 1
	epoch = 3
	url = https://github.com/ldc-developers/ldc
	arch = x86_64
	groups = dlang
	groups = dlang-ldc
	license = BSD-3-Clause AND BSL-1.0 AND Apache-2.0 WITH LLVM-exception
	makedepends = git
	makedepends = cmake
	makedepends = llvm
	makedepends = lld
	makedepends = ldc
	makedepends = ninja
	options = !lto
	source = git+https://github.com/ldc-developers/ldc#commit=ff7954cf1843b36f2a5caf1dacbf1ecf8803f77c
	source = ldc-phobos::git+https://github.com/ldc-developers/phobos.git
	sha256sums = c4bd5bf5337f2286a88c69c0d69d9ba88e03f8c519e79d19ce3ddeb761aa4f3e
	sha256sums = SKIP

pkgname = ldc
	depends = liblphobos
	depends = llvm-libs
	depends = gcc
	depends = compiler-rt
	provides = d-compiler=2.109.1
	backup = etc/ldc2.conf

pkgname = liblphobos
	depends = curl
	provides = d-runtime
	provides = d-stdlib
	options = staticlibs