extra/vulkan-tools: fix

This commit is contained in:
Kevin Mihelich 2018-03-10 14:08:44 +00:00
parent 2a021a3808
commit a58c6f5bff

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use suffix=32 in packaging for 32-bit ARM architectures
# - strip -m32 from CMakeLists
pkgbase=vulkan-tools
pkgname=(vulkan-trace vulkan-extra-layers)
@ -20,6 +21,11 @@ sha256sums=('7e8c9bad6932a795d1dd330e9710a38c9d0157189b2656df91264dbd051653b9'
'SKIP'
'SKIP')
prepare() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
sed -i 's/-m32//g' vktrace/CMakeLists.txt
}
build() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}"