diff options
author | begin-theadventure | 2023-06-09 23:38:16 +0200 |
---|---|---|
committer | begin-theadventure | 2023-06-09 23:38:16 +0200 |
commit | 9f846575c97b88536fe73ec5cc50db5b5e1f66b6 (patch) | |
tree | 2b2648f5e306e5c136edb9309ff274a75719c925 | |
download | aur-9f846575c97b88536fe73ec5cc50db5b5e1f66b6.tar.gz |
0.1.1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bcad2983799b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = latencyflex-bin + pkgdesc = Vendor agnostic latency reduction middleware. An alternative to NVIDIA Reflex (binary release) + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/ishitatsuyuki/LatencyFleX + arch = x86_64 + license = GPL3 + provides = latencyflex + conflicts = latencyflex + conflicts = latencyflex-git + source = https://github.com/ishitatsuyuki/LatencyFleX/releases/download/v0.1.1/latencyflex-v0.1.1.tar.xz + sha256sums = c992ebd2f43c99ab4a84a6ffce692d9aae4cc2571536a5854ae2e79b6951e78a + +pkgname = latencyflex-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c5d48e91b01 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com> + +_pkgname=latencyflex +pkgname=$_pkgname-bin +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Vendor agnostic latency reduction middleware. An alternative to NVIDIA Reflex (binary release)" +arch=('x86_64') +url="https://github.com/ishitatsuyuki/LatencyFleX" +license=('GPL3') +provides=("$_pkgname") +conflicts=("$_pkgname" "$_pkgname-git") +source=("$url/releases/download/v$pkgver/$_pkgname-v$pkgver.tar.xz") +sha256sums=('c992ebd2f43c99ab4a84a6ffce692d9aae4cc2571536a5854ae2e79b6951e78a') + +prepare() { + # Edit the path in .json + cd $_pkgname-v$pkgver/layer/usr/share/vulkan/implicit_layer.d + sed -i -E "s| \"library_path\": \"/usr/lib/x86_64-linux-gnu/liblatencyflex_layer.so\",| \"library_path\": \"/usr/lib/liblatencyflex_layer.so\",|g" $_pkgname.json +} + +package() { + cd $_pkgname-v$pkgver + install -Dm644 layer/usr/share/vulkan/implicit_layer.d/$_pkgname.json -t "$pkgdir/usr/share/vulkan/implicit_layer.d" + install -Dm755 layer/usr/lib/x86_64-linux-gnu/lib${_pkgname}_layer.so -t "$pkgdir/usr/lib" + cp -r wine/usr "$pkgdir" +} |