Third party zsh completers should be installed to zsh/site-functions[1].
Since that's what pulseaudio does by default, just remove the flag.

1: https://github.com/zsh-users/zsh/blob/master/INSTALL#L257


diff --git Makefile Makefile
index a1863c1ee46..2eb0f4eccc5 100644
--- Makefile
+++ Makefile
@@ -5,6 +5,7 @@ COMMENT=                cross-platform networked sound server
 VERSION=               15.0
 DISTNAME=              pulseaudio-${VERSION}
 EXTRACT_SUFX=          .tar.xz
+REVISION=              0
 
 SHARED_LIBS += pulse                     7.2 # 0.24.0
 SHARED_LIBS += pulse-simple              1.2 # 0.1.1
@@ -67,7 +68,6 @@ CONFIGURE_ARGS=               -Ddoxygen=false \
                        -Ddatabase=tdb \
                        -Datomic-arm-linux-helpers=false \
                        
-Dbashcompletiondir=${PREFIX}/share/bash-completion/completions \
-                       
-Dzshcompletiondir=${PREFIX}/share/zsh/vendor-completions \
                        -Dalsa=disabled \
                        -Dasyncns=disabled \
                        -Davahi=disabled \
diff --git pkg/PLIST pkg/PLIST
index c5b8d9e969c..146c104d87b 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -238,5 +238,5 @@ share/vala/vapi/libpulse-simple.vapi
 share/vala/vapi/libpulse.deps
 share/vala/vapi/libpulse.vapi
 share/zsh/
-share/zsh/vendor-completions/
-share/zsh/vendor-completions/_pulseaudio
+share/zsh/site-functions/
+share/zsh/site-functions/_pulseaudio

Reply via email to