summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2976782f1178c3c824424ce660f9508d826372e (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
27
# Maintainer: jiriks74 <jiri.stefka@atlas.cz>
# Credits: Entith <entith@entith.net>
pkgname=vkdevicechooser-git
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')
source=(git+https://github.com/jiriks74/vkdevicechooser.git)
sha256sums=('SKIP')

build() {
  cd "vkdevicechooser"
  meson --prefix=/usr build
  ninja -C build
}

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