### this file is sourced not run
PKGVER=1.2.2021.05
PKGBUILD=1
PKGARCH=i686

# james
TARBALL=vkd3d-20210503.tar.bz2
MD5SUM=0ebca7368cf0475ec4c945f277f1109f
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
# source: https://source.winehq.org/git/vkd3d.git/
# commit: 8b99fc66d3b4dba3d213c7115aa79a22ece38719
BUNDLE=

SLACKREQ='libvulkan32'
SLACKDESC="libvkd3d32: libvkd3d32 $PKGVER (3D Graphics library)
libvkd3d32: 
libvkd3d32: Vkd3d is a 3D graphics library built on top of Vulkan. It has an API 
libvkd3d32: very similar, but not identical, to Direct3D 12.
libvkd3d32: 
libvkd3d32: https://source.winehq.org/git/vkd3d.git/
libvkd3d32: https://wiki.winehq.org/Vkd3d
libvkd3d32: 
libvkd3d32: This contains 32-bit version of the library
libvkd3d32: 
libvkd3d32:
"

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	rm -r ./usr/include
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	cd /tmp/vkd3d* &&
	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

