summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 69acfe46b8c2a2e18958abf5290e3be741901956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Andrew Shark <ashark on linuxcomp.ru>
pkgname=amd-vulkan-prefixes
pkgver=2
pkgrel=1
pkgdesc="Select needed vulkan implementation with vk_radv, vk_amdvlk or vk_pro prefix"
arch=('any')
license=('GPL')
url="https://gitlab.com/AndrewShark/amd-vulkan-prefixes"
source=(https://gitlab.com/AndrewShark/amd-vulkan-prefixes/-/raw/main/amd_vulkan_prefixes.sh
        https://gitlab.com/AndrewShark/amd-vulkan-prefixes/-/raw/main/amd_vulkan_prefixes.bash-completion)
sha256sums=("85883797efa8f0e72427cff9f691a8988c59efbbbebf8dce85cbdc8236b97f3d"
            "aaf96ea2ae87c7dab678e8a33986199256312dd70004aec87b5fd0f8b65ebaef")


package() {
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.sh "${pkgdir}"/usr/bin/vk_radv
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.sh "${pkgdir}"/usr/bin/vk_amdvlk
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.sh "${pkgdir}"/usr/bin/vk_pro
    
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.bash-completion "${pkgdir}"/usr/share/bash-completion/completions/vk_radv
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.bash-completion "${pkgdir}"/usr/share/bash-completion/completions/vk_amdvlk
    install -Dm755 "${srcdir}"/amd_vulkan_prefixes.bash-completion "${pkgdir}"/usr/share/bash-completion/completions/vk_pro
}