summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCody P Schafer2017-01-13 16:48:53 -0500
committerCody P Schafer2017-01-13 16:49:02 -0500
commit85c113f7f534cbd8a0c9ed4d520ee58ae0637483 (patch)
treebd780763081b4f3d2b31c891f0c12203c2c7e1e2
parentdbaf28575e5d2b8ea7fd4b2a7b0d4ae6189cf6e3 (diff)
downloadaur-85c113f7f534cbd8a0c9ed4d520ee58ae0637483.tar.gz
remove sbin, add zlib dep, strip some funky rpaths
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD13
2 files changed, 14 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 090564cab8e..b3d6b8b7dd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = parallels-tools
pkgdesc = Parallels virtualization integration services & drivers
pkgver = 11.2.2.32651
- pkgrel = 1
+ pkgrel = 2
url = https://parallels.com
arch = x86_64
license = custom: commercial
@@ -9,6 +9,7 @@ pkgbase = parallels-tools
makedepends = dkms
depends = bash
depends = sh
+ depends = zlib
conflicts = xorg-server<1.16
conflicts = X-ABI-VIDEODRV_VERSION<20
conflicts = X-ABI-VIDEODRV_VERSION>=21
diff --git a/PKGBUILD b/PKGBUILD
index 40f19ad82a6..c710f440300 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Parallels virtualization integration services & drivers"
arch=('x86_64')
url="https://parallels.com"
license=('custom: commercial')
-depends=(bash sh)
+depends=(bash sh zlib)
makedepends=(dir-dlagent dkms)
checkdepends=()
optdepends=()
@@ -60,6 +60,8 @@ package_parallels-tools() {
cp -r "${srcdir}"/bin/* "${pkgdir}/usr/bin"
cp -r "${srcdir}"/sbin/* "${pkgdir}/usr/bin"
cp -r "${srcdir}"/lib/* "${pkgdir}/usr/lib"
+ rm -rf "${pkgdir}/usr/lib/compiz"
+
install -d -m 0755 "${pkgdir}/usr/lib/xorg/modules/drivers"
install -d -m 0755 "${pkgdir}/usr/lib/xorg/modules/input"
cp -r "${srcdir}"/xorg.${XORG_VERSION}/x-server/modules/drivers/* "${pkgdir}/usr/lib/xorg/modules/drivers"
@@ -89,6 +91,15 @@ package_parallels-tools() {
install -d -m 0755 "${pkgdir}/etc/pm/sleep.d"
install -m 0755 99prltoolsd-hibernate "${pkgdir}/etc/pm/sleep.d"
+
+ # These have very strange /usr/local rpaths, strip them out
+ chrpath -d "${pkgdir}/usr/lib/libglx.so.1.0.0"
+ for b in prlshprint prl_wmouse_d prlshprof prlsga prl_nettool \
+ prl_showvmcfg prlhosttime prldnd prlcc prl_snapshot prlcp \
+ prltoolsd;
+ do
+ chrpath -d "${pkgdir}/usr/bin/$b"
+ done
}
package_parallels-tools-dkms() {