diff options
author | Mark Wagie | 2024-03-09 10:18:29 -0700 |
---|---|---|
committer | Mark Wagie | 2024-03-09 10:18:29 -0700 |
commit | 3f9f02acb7f9868315e62b7e42c4cfbeec99050f (patch) | |
tree | f4fc64d0a99d5df253961779360c41e7b8e718df /PKGBUILD | |
parent | 3808f4d06748ebe6c7f210e82412f0e87e8e3ec3 (diff) | |
download | aur-3f9f02acb7f9868315e62b7e42c4cfbeec99050f.tar.gz |
correct directories
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -3,7 +3,7 @@ pkgname=('vulkan-caps-viewer-x11' 'vulkan-caps-viewer-wayland') pkgbase=vulkan-caps-viewer pkgver=3.33 -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="Vulkan Hardware Capability Viewer" arch=('x86_64' 'aarch64') @@ -22,21 +22,21 @@ pkgver() { } prepare() { + + # Create build directories + mkdir -p build-x11 build-wayland + cd VulkanCapsViewer git submodule init git config submodule.Vulkan-Headers.url "$srcdir/Vulkan-Headers" git -c protocol.file.allow=always submodule update - - # Create build directories - mkdir -p build-x11 build-wayland } build() { - cd VulkanCapsViewer # X11 pushd build-x11 - qmake-qt5 \ + qmake-qt5 ../VulkanCapsViewer \ DEFINES+=X11 \ CONFIG+=release \ PREFIX=/usr @@ -45,7 +45,7 @@ build() { # Wayland pushd build-wayland - qmake-qt5 \ + qmake-qt5 ../VulkanCapsViewer \ DEFINES+=WAYLAND \ CONFIG+=release \ PREFIX=/usr @@ -59,10 +59,10 @@ package_vulkan-caps-viewer-x11() { provides=('vulkan-caps-viewer') conflicts=('vulkan-caps-viewer') - cd VulkanCapsViewer/build-x11 + cd build-x11 make INSTALL_ROOT="$pkgdir/" install - install -m644 gfx/android_icon_256.png \ + install -m644 ../VulkanCapsViewer/gfx/android_icon_256.png \ "$pkgdir"/usr/share/icons/hicolor/256x256/apps/vulkanCapsViewer.png } @@ -72,9 +72,9 @@ package_vulkan-caps-viewer-wayland() { provides=('vulkan-caps-viewer') conflicts=('vulkan-caps-viewer') - cd VulkanCapsViewer/build-wayland + cd build-wayland make INSTALL_ROOT="$pkgdir/" install - install -m644 gfx/android_icon_256.png \ + install -m644 ../VulkanCapsViewer/gfx/android_icon_256.png \ "$pkgdir"/usr/share/icons/hicolor/256x256/apps/vulkanCapsViewer.png } |