summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f2e8e5db3a6417570119b363d5f6731374f203e (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
28
29
30
31
32
33
# Maintainer: Tobias Frisch <thejackimonster@gmail.com>

pkgname=vkresample-git
pkgver=1.0.2
pkgrel=1
pkgdesc="Vulkan real-time FFT upscaling"
url="https://github.com/DTolm/VkResample"
license=('MPL2')
arch=( 'any' )
depends=('vulkan-driver' 'vulkan-icd-loader' 'glslang')
makedepends=(git cmake make 'vulkan-headers')
provides=(vkresample)
conflicts=(vkresample)
source=("git+https://github.com/DTolm/VkResample.git")
md5sums=('SKIP')

pkgver() {
    cd VkResample
    git tag | sort -r | head -1
}

build() {
	cd "${srcdir}/VkResample"
	cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd "${srcdir}/VkResample"

	install -Dm755 "VkResample" "$pkgdir/usr/bin/VkResample"
}