summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ed5d3b1b4ccefb7db6cc1494816b1490ea19aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: jiriks74 <jiri@stefka.eu>
# Old maintainer: Entith <entith@entith.net>
pkgname=vkdevicechooser
pkgver=1.1
pkgrel=1
pkgdesc="Vulkan layer to force a specific physical GPU device to be used"
arch=('x86_64')
url="https://github.com/jiriks74/vkdevicechooser"
license=('MIT')
depends=('vulkan-icd-loader')
makedepends=('git' 'vulkan-headers' 'vulkan-utility-libraries' 'meson' 'ninja')
conflicts=('vkdevicechooser-git')
source=(https://github.com/jiriks74/vkdevicechooser/archive/refs/tags/1.1.zip)
md5sums=('b838ff799b1e729e11d1b950504672be')

build() {
  cd "${pkgname}-${pkgver}"
  meson --prefix=/usr build
  ninja -C build
}

package() {
  cd "${pkgname}-${pkgver}"
  echo "pkgdir $pkgdir"
  DESTDIR="$pkgdir" ninja -C build install
}