1 # Maintainer: Laurent Carlier <lordheavym@archlinux.org>
2 # Contributor: Cyano Hao <c@cyano.cn>
4 pkgname=directx-headers
5 pkgdesc="DirectX headers for using D3D12"
10 url="https://github.com/microsoft/DirectX-Headers"
12 source=(directx-headers-${pkgver}.tar.gz::https://github.com/microsoft/DirectX-Headers/archive/refs/tags/v${pkgver}.tar.gz)
13 sha256sums=('343b04a8206c4169a1feab99a7bd29ecb0c8f511988e9a007fea51768bda14fa')
17 export CXXFLAGS="$CXXFLAGS -fno-lto"
19 arch-meson DirectX-Headers-$pkgver build \
25 DESTDIR="$pkgdir" meson install -C build
27 install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" DirectX-Headers-$pkgver/LICENSE