diff options
author | Eric Engestrom | 2019-11-29 11:45:48 +0000 |
---|---|---|
committer | Eric Engestrom | 2019-11-29 11:45:48 +0000 |
commit | 4975c6327b476f8d924eb7ef27e8b5dc491da5c0 (patch) | |
tree | c4f6f803340c6be5a3ba3acf0197c5b76fb20a07 /PKGBUILD | |
parent | dc4fbcddf993d4f8c820a803f24ef46aee0897e8 (diff) | |
download | aur-4975c6327b476f8d924eb7ef27e8b5dc491da5c0.tar.gz |
submodule hack: let makepkg deal with the git clone
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -2,13 +2,15 @@ pkgname=vulkan-caps-viewer pkgver=2.03 -pkgrel=1 +pkgrel=2 pkgdesc='Vulkan Hardware Capability Viewer' url='http://vulkan.gpuinfo.org/' arch=('x86_64') license=('GPL2') -source=("https://github.com/SaschaWillems/VulkanCapsViewer/archive/$pkgver.tar.gz") -sha1sums=('2cecf6fa42a21060171c974af607a79ad490162c') +source=("https://github.com/SaschaWillems/VulkanCapsViewer/archive/$pkgver.tar.gz" + "git+https://github.com/KhronosGroup/Vulkan-Headers") +sha1sums=('2cecf6fa42a21060171c974af607a79ad490162c' + 'SKIP') makedepends=(qt5-base) depends=(vulkan-icd-loader qt5-base qt5-x11extras) @@ -24,8 +26,7 @@ prepare() { fi #HACK: github doesn't package submodules... - git clone --depth 1 https://github.com/KhronosGroup/Vulkan-Headers \ - VulkanCapsViewer-$pkgver/Vulkan-Headers + cp -r Vulkan-Headers/include VulkanCapsViewer-$pkgver/Vulkan-Headers/ #HACK: the last commit of 2.02 explicitely breaks the build; probably wasn't intended to be pushed out sed 's#"/Vulkan-Headers/include"#"./Vulkan-Headers/include"#' \ |