diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 17:22:49 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-28 15:18:09 +0000 |
commit | 7583be8c502ee17e28f6df141bb7f2008e0f60c1 (patch) | |
tree | 8c4e038ea26efb0c28eefd637db4fde02c4a2b12 /community | |
parent | 004d29a8fb81b65c79bd726b0f2e6dd48f41338d (diff) | |
download | aports-7583be8c502ee17e28f6df141bb7f2008e0f60c1.tar.bz2 aports-7583be8c502ee17e28f6df141bb7f2008e0f60c1.tar.xz |
community/vulkan-headers: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/vulkan-headers/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/vulkan-headers/APKBUILD b/community/vulkan-headers/APKBUILD new file mode 100644 index 0000000000..2dc93f8baa --- /dev/null +++ b/community/vulkan-headers/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=vulkan-headers +_pkgname=Vulkan-Headers +pkgver=1.1.112 +pkgrel=0 +arch="noarch" +url="https://www.khronos.org/vulkan" +pkgdesc="Vulkan header files" +license="Apache-2.0" +makedepends="cmake" +source="$pkgname-$pkgver.tar.gz::https://github.com/khronosgroup/$pkgname/archive/v$pkgver.tar.gz" +options="!check" # No tests +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="c6b59a7b3b53bf88ad1f56f051c30130d0d4eb39b0793ad35a6e7ed56f96632ae880900a0bcd855e92c1fde37940ae2e5b5f7095e6bb5f55e45baceb1af98a66 vulkan-headers-1.1.112.tar.gz" |