summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorblackhole2021-06-13 17:34:44 +0200
committerblackhole2021-06-13 17:34:44 +0200
commitb715dba9c6f09d0da4064c2c88c691c3963b4cf6 (patch)
treeb0b3c3cbccaa507509adc6238e65e2527f4943f8
parent1c3fd969045e6fa814e4c61ba5ca295944b4175f (diff)
downloadaur-b715dba9c6f09d0da4064c2c88c691c3963b4cf6.tar.gz
Fix to install file
-rwxr-xr-x.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--hqplayer-embedded.install10
3 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 168aba54c77..e8384eb4647 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hqplayer-embedded
pkgdesc = Signalyst HQPlayer Embedded HQPlayer - the high-end upsampling multichannel software HD-audio player
pkgver = 4.24.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.signalyst.com/custom.html
install = hqplayer-embedded.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b9c55ca3e5f..866ba4b1c06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=hqplayer-embedded
_rpmver=4.24.0-61
_debpkgver=4.24.0-75
pkgver=4.24.0
-pkgrel=1
+pkgrel=2
pkgdesc="Signalyst HQPlayer Embedded
HQPlayer - the high-end upsampling multichannel software HD-audio player"
arch=('x86_64' 'aarch64')
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install
index adfb9006d5f..e05fef79bf2 100644
--- a/hqplayer-embedded.install
+++ b/hqplayer-embedded.install
@@ -2,8 +2,12 @@ post_install () {
chown -R hqplayer:hqplayer /var/hqplayer
chown -R hqplayer:hqplayer /etc/hqplayer
cd /usr/lib
+if [ ! -f "/usr/lib/libgupnp-1.0.so.4" ]; then
ln libgupnp-1.2.so.0 libgupnp-1.0.so.4
+fi
+if [ ! -f "/usr/lib/libomp.so.5" ]; then
ln libomp.so libomp.so.5
+fi
if [ ! -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
mkdir -p /etc/pki/tls/certs
ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
@@ -25,9 +29,3 @@ mkdir -p /etc/pki/tls/certs
ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
fi
}
-
-post_remove() {
-cd /usr/lib
-rm libgupnp-1.0.so.4
-rm libomp.so.5
-}