blob: 0a8a0e316a5c94fa97a3a3c8aaa81cb7bd467f70 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Zacharias Knudsen <zachasme@gmail.com>
pkgname=q2vkpt-git
pkgver=r1509.0baa1a1
pkgrel=1
pkgdesc="Real-time path tracer VKPT integrated into q2pro Quake 2 client."
arch=("x86_64")
url="https://github.com/cschied/q2vkpt"
license=('GPL')
groups=()
depends=('glibc' 'zlib' 'sdl2' 'libjpeg-turbo' 'libpng' 'vulkan-icd-loader')
makedepends=('git' 'glslang' 'vulkan-headers') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname%-VCS}")
conflicts=()
replaces=()
backup=()
options=()
install=
source=('q2vkpt::git+https://github.com/cschied/q2vkpt.git'
'q2vkpt.launcher'
'.config')
noextract=()
md5sums=('SKIP'
'903849b55b6be115c81392e549b3b079'
'6bc71f41c15d8ed00505a06c8568fb65')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
make clean
cp ../.config ./
make
}
package() {
cd "${pkgname%-git}"
install -d $pkgdir/opt/q2vkpt/baseq2
install -m 755 ${pkgname%-git} $pkgdir/opt/q2vkpt/
install -m 755 game*.so $pkgdir/opt/q2vkpt/baseq2/
cp -r shader_vkpt $pkgdir/opt/q2vkpt
cp -r blue_noise_textures $pkgdir/opt/q2vkpt
install -D -m 755 $srcdir/q2vkpt.launcher $pkgdir/usr/bin/q2vkpt
}
|