summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcell Meszaros2023-07-27 19:12:28 +0200
committerMarcell Meszaros2023-07-27 19:19:46 +0200
commit24cd3c1d008421fa89ca8a935d007f3e4b8b08f7 (patch)
tree8958b7d1542a7027905700c2d05ee0dacbf0573f
parent5f60feebebd8da626fe2f1a194c4c883730e9615 (diff)
downloadaur-24cd3c1d008421fa89ca8a935d007f3e4b8b08f7.tar.gz
1.1-4: leave runpaths, openal. need more triage for runpath alternative
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 3 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06f1f48c17c0..47c86d9c6545 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = unigine-superposition
pkgdesc = Interactive Unigine Benchmark: walk through a lab of a lone professor
pkgver = 1.1
- pkgrel = 3
+ pkgrel = 4
url = https://benchmark.unigine.com/superposition
arch = x86_64
license = custom:UNIGINE Engine
- makedepends = patchelf
depends = dbus
depends = fontconfig
depends = freetype2
@@ -22,7 +21,6 @@ pkgbase = unigine-superposition
depends = libxrandr
depends = libxrender
depends = libx11
- depends = openal
depends = qt5-base
depends = sh
depends = zlib
diff --git a/PKGBUILD b/PKGBUILD
index 0f9027c206ab..0e217e42e119 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=unigine-superposition
_pkgname=Unigine_Superposition
pkgver=1.1
-pkgrel=3
+pkgrel=4
pkgdesc="Interactive Unigine Benchmark: walk through a lab of a lone professor"
arch=('x86_64')
url="https://benchmark.unigine.com/superposition"
@@ -27,12 +27,10 @@ depends=(
'libxrandr'
'libxrender'
'libx11'
- 'openal'
'qt5-base'
'sh'
'zlib'
)
-makedepends=('patchelf')
options=('!strip')
_tarname="${_pkgname}-${pkgver}.run"
source=("${_tarname}::https://assets.unigine.com/d/${_tarname}" "Superposition.desktop")
@@ -50,7 +48,7 @@ build() {
cat >> "${srcdir}/bin/unigine-superposition" << \here
#!/bin/sh
cd /opt/unigine-superposition/bin
-LD_LIBRARY_PATH='/opt/unigine-superposition/bin:/opt/unigine-superposition/bin/qt/lib' ./launcher
+./launcher
here
}
@@ -72,12 +70,6 @@ package() {
# remove unneeded install scripts
rm -v "${pkgdir}/opt/${pkgname}/"*install.sh
- # removing unneded libraries
- rm -v "${pkgdir}/opt/${pkgname}/bin/libopenal.so"
-
- # removing runpaths
- patchelf --remove-rpath "${pkgdir}/opt/${pkgname}/bin/launcher"
-
# misc
install -v -Dm644 docs/Superposition_Benchmark_End-User_License_Agreement.pdf "${pkgdir}"/usr/share/licenses/${pkgname}/license
install -v -Dm644 docs/Superposition_Benchmark_User_Manual.pdf "${pkgdir}"/usr/share/doc/${pkgname}/User_Manual.pdf