aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/open-vm-tools/APKBUILD')
-rw-r--r--main/open-vm-tools/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD
index f1f61cd1d4..db3d6efede 100644
--- a/main/open-vm-tools/APKBUILD
+++ b/main/open-vm-tools/APKBUILD
@@ -3,7 +3,7 @@ pkgname=open-vm-tools
pkgver=10.1.0
_pkgsubver=${pkgver#*_p}
_ver=${pkgver/_p/-}
-pkgrel=3
+pkgrel=4
pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools."
url="https://github.com/vmware/open-vm-tools/"
arch="x86 x86_64"
@@ -65,15 +65,20 @@ build() {
package() {
cd "$builddir"/open-vm-tools
- make install DESTDIR=$pkgdir || return 1
+ make install DESTDIR="$pkgdir" || return 1
+
+ cd "$pkgdir"
+
+ chmod -x ./etc/vmware-tools/*.conf
+ mv ./etc/vmware-tools/vm-support ./usr/bin/vm-support || return 1
install -Dm755 "$srcdir"/open-vm-tools.initd \
- "$pkgdir"/etc/init.d/open-vm-tools || return 1
+ ./etc/init.d/open-vm-tools || return 1
install -Dm755 "$srcdir"/open-vm-tools.confd \
- "$pkgdir"/etc/conf.d/open-vm-tools || return 1
+ ./etc/conf.d/open-vm-tools || return 1
- mkdir -p "$pkgdir"/etc/modules-load.d/
- cat > "$pkgdir"/etc/modules-load.d/open-vm-tools <<-EOF
+ mkdir -p ./etc/modules-load.d/
+ cat > ./etc/modules-load.d/open-vm-tools <<-EOF
vmblock
vmci
vmhgfs
@@ -92,6 +97,7 @@ gtk() {
"$subpkgdir"/etc/
mv "$pkgdir"/usr/bin/vmware-user-suid-wrapper \
+ "$pkgdir"/usr/bin/vmware-vmblock-fuse \
"$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/etc/xdg "$subpkgdir"/etc/ || return 1
mv "$pkgdir"/usr/lib/open-vm-tools/plugins/vmusr \