summaryrefslogtreecommitdiff
path: root/mandos
diff options
context:
space:
mode:
Diffstat (limited to 'mandos')
-rw-r--r--mandos/PKGBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/mandos/PKGBUILD b/mandos/PKGBUILD
index 67e524d29..34e5e70c3 100644
--- a/mandos/PKGBUILD
+++ b/mandos/PKGBUILD
@@ -55,13 +55,24 @@ package_mandos-client-nokey() {
'gcc-libs=14.2.1+r134+gab884fffe3fc'
'glibc>=2.38'
'gnutls=3.8.7'
- 'libavahi-common.so=3'
- 'libavahi-core.so=7'
- 'libglib-2.0.so=0'
- 'libgpgme.so=11'
- 'libnl-3.so=200'
- 'libnl-route-3.so=200'
)
+ if [ "${OS}" = 'arch' ]; then
+ _pinned_dependencies+=(
+ 'libavahi-common.so=3'
+ 'libavahi-core.so=7'
+ 'libglib-2.0.so=0'
+ 'libgpgme.so=11'
+ 'libnl-3.so=200'
+ 'libnl-route-3.so=200'
+ )
+ else
+ _pinned_dependencies+=(
+ 'avahi'
+ 'glib2'
+ 'gpgme'
+ 'libnl'
+ )
+ fi
depends+=("${_pinned_dependencies[@]}")
_package client-nokey
}