diff options
author | fordprefect | 2023-07-03 18:25:07 +0200 |
---|---|---|
committer | fordprefect | 2023-07-03 18:25:07 +0200 |
commit | 58defc7a490423af732ceeba1968551cada2f21e (patch) | |
tree | a7cfe92b0f63c5cd9d14f9b3d84a905ca87b7958 | |
parent | 8fac827d66a6f8b584d78acfdb2481297876981d (diff) | |
download | aur-58defc7a490423af732ceeba1968551cada2f21e.tar.gz |
implement requested fixes
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -12,8 +12,6 @@ pkgbase = unigine-superposition depends = fontconfig depends = qt5-declarative depends = libxkbcommon-x11 - depends = openssl-1.0 - optdepends = openal: sound support options = !strip source = https://assets.unigine.com/d/Unigine_Superposition-1.1.run source = Superposition.desktop @@ -8,8 +8,7 @@ pkgdesc="Interactive Unigine Benchmark: walk through a lab of a lone professor" arch=('x86_64') url="https://benchmark.unigine.com/superposition" license=('custom:UNIGINE Engine') -depends=('libgl' 'gcc-libs' 'libxrandr' 'libxinerama' 'fontconfig' 'qt5-declarative' 'libxkbcommon-x11' 'openssl-1.0') -optdepends=('openal: sound support') +depends=('libgl' 'gcc-libs' 'libxrandr' 'libxinerama' 'fontconfig' 'qt5-declarative' 'libxkbcommon-x11') options=("!strip") source=("https://assets.unigine.com/d/${_pkgname}-${pkgver}.run" "Superposition.desktop") sha512sums=('00a680b789ec69f6453e31fbd233bc018cc9f3ca8595ea9367dda49bbdde453643863d90b84b068f444fc3ec023bdd4f35326cffb1fbf8653ced29c587524dd6' @@ -30,9 +29,13 @@ package() { cat >> "${pkgdir}/usr/bin/unigine-superposition" << \here #!/bin/sh cd /opt/unigine-superposition/bin -LD_LIBRARY_PATH=/usr/lib/openssl-1.0 ./launcher +./launcher here chmod a+x "${pkgdir}/usr/bin/unigine-superposition" + # fix openssl1.0 stuff + rm "${pkgdir}/opt/unigine-superposition/bin/qt/lib/libcrypto.so" + find "${pkgdir}/opt/unigine-superposition/bin/qt" -name "*.so*" -exec chmod a+x {} \; + ln -s /opt/unigine-superposition/bin/qt/lib/libcrypto.so.1.0.0 "${pkgdir}/opt/unigine-superposition/bin/qt/lib/libcrypto.so" # misc install -Dm644 docs/Superposition_Benchmark_End-User_License_Agreement.pdf "${pkgdir}"/usr/share/licenses/${pkgname}/license install -Dm644 docs/Superposition_Benchmark_User_Manual.pdf "${pkgdir}"/usr/share/doc/${pkgname}/User_Manual.pdf |