Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:zoom
zoom
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package zoom
# Fix for error: bsdtar: Failed to set default locale # LANG=en_US.UTF-8 # not available, use C or POSIX LANG=C LC_ALL=${LANG} pkgname=zoom # Grab package version from package: _pkgver=$(pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz | grep "Version : " | sed 's/Version \: //g' | sed 's/-.*//g') # If /usr/src/packages/BUILD/zoom/src/.PKGINFO exists, which it does not yet, will be extraced soon: #_version=$(cat /usr/src/packages/BUILD/zoom/src/.PKGINFO | grep "pkgver = " | sed 's/pkgver = //g' | sed 's/-.*//g') #pkgver=$(pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz | grep "Version : " | sed 's/Version \: //g' | sed 's/-.*//g') pkgver=${_pkgver} pkgrel=1 pkgdesc="Video Conferencing and Web Conferencing Service" arch=('x86_64') license=('custom') url="https://zoom.us/" install=${pkgname}.install # Zoom dependencies from dowloaded package: _depends=$(pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz | grep "Depends On : " | sed 's/Depends On \: //g') _optdepends=('firejail: sandbox' 'firetools: firejail GUI' $(pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz | grep "Optional Deps : " | sed 's/Optional Deps \: //g')) # Compare dependencies with those from AUR: # https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=zoom depends=('fontconfig' 'glib2' 'libpulse' 'libsm' 'ttf-font' 'libx11' 'libxtst' 'libxcb' 'libxcomposite' 'libxfixes' 'libxi' 'libxcursor' 'libxkbcommon-x11' 'libxrandr' 'libxrender' 'libxshmfence' 'libxslt' 'mesa' 'nss' 'xcb-util-image' 'xcb-util-keysyms' 'dbus' 'libdrm' 'gtk3' 'qt5-webengine') optdepends=('pulseaudio-alsa: audio via PulseAudio' 'ibus: remote control' 'picom: extra compositor needed by some window managers for screen sharing' 'xcompmgr: extra compositor needed by some window managers for screen sharing' 'firejail: sandbox' 'firetools: firejail GUI') options=(!strip) source=("${pkgname}.pkg.tar.xz") sha512sums=('SKIP') _uploaddir=/usr/src/packages/SOURCES _sourcedir=/usr/src/packages/BUILD/${pkgname}/src/${pkgname}-${pkgver} # srcdir is already defined as # ${srcdir}=/usr/src/packages/BUILD/${pkgname}/src _builddir=/usr/src/packages/BUILD/${pkgname}/build _pkgdir=/usr/src/packages/BUILD/${pkgname}/pkg/${pkgname} # Package files will be installed in: _installToDir=${_pkgdir} _iconName=${pkgname} _iconName=Zoom prepare() { sed -i 's/Zoom\.png/Zoom/g' "${srcdir}/usr/share/applications/Zoom.desktop" sed -i 's/StartupWMClass=Zoom/StartupWMClass=zoom/g' "${srcdir}/usr/share/applications/Zoom.desktop" } package() { echo _pkgver=$_pkgver echo pkgver=$pkgver DIR=$(pwd) echo Current dir: $DIR ls -al echo echo echo echo "ls -al /usr/src/packages" ls -al /usr/src/packages/ echo echo echo echo "ls -al /usr/src/packages/SOURCES" ls -al /usr/src/packages/SOURCES echo echo echo echo "pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz" pacman -Qi -p /usr/src/packages/SOURCES/${pkgname}.pkg.tar.xz echo echo echo echo "Check for missing dependencies!" echo echo "These dependencies are reported: \${_depends}" echo ${_depends} echo echo "These optional dependencies are reported: \${_optdepends}" echo ${_optdepends} echo echo "cat /usr/src/packages/BUILD/zoom/src/.PKGINFO" cat /usr/src/packages/BUILD/zoom/src/.PKGINFO echo echo echo echo "cp -dpr --no-preserve=ownership opt usr \"${pkgdir}\"" cp -dpr --no-preserve=ownership opt usr "${pkgdir}" install -dm755 "${pkgdir}/usr/share/icons/hicolor/scalable/apps" icon="${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_iconName}.svg" cat <<EOF > "${icon}" <svg xmlns="http://www.w3.org/2000/svg" version="1.2" viewBox="0 0 128 128"> <path fill="#fefefe" d="m58.347 126.765-4.154-.586A62.653 62.754 0 0 1 3.38 80.07a50.813 50.895 0 0 1-1.855-15.867c0-7.33.318-10.434 1.817-15.994A62.78 62.881 0 0 1 48.4 3.242c5.843-1.463 8.816-1.82 15.676-1.82 5.272 0 6.732.09 9.527.547a62.132 62.232 0 0 1 34.782 17.725 62.156 62.156 0 0 1 17.696 34.863c.495 3.143.635 6.337.546 9.517-.14 5.28-.318 9.836-1.817 15.74a62.78 62.881 0 0 1-44.893 45.093 53.392 53.478 0 0 1-14.863 1.858l-6.708-.039zm14.317-5.471a57.673 57.766 0 0 0 11.687-111.27A57.648 57.74 0 0 0 8.131 78.44a57.838 57.932 0 0 0 64.597 42.84ZM35.316 84.14a11.382 11.4 0 0 1-8.676-8.729c-.496-2.214-.56-29.226-.102-30.231.648-1.4-.101-1.375 21.85-1.336 21.9 0 22.13 0 24.733 1.297a12.106 12.126 0 0 1 4.485 4.263c1.562 2.646 1.6 2.926 1.6 19.073v14.53l-.711.713-.724.687H57.09c-11.395 0-21.177-.127-21.8-.254zm63.34.038c-.23-.063-4.193-2.926-8.817-6.26l-8.422-6.12V56.542l8.486-6.184a156.56 156.56 0 0 1 9.108-6.425 1.016 1.018 0 0 1 1.016.254c.356.37.42 2.125.42 19.913 0 17.406-.064 19.556-.382 19.875-.432.432-.724.496-1.397.203z"/> <path fill="#e8ecea" d="M53.965 127.337A63.86 63.963 0 0 1 .839 74.241 56.492 56.583 0 0 1 .001 64.2c.127-5.456.609-10.52 2.134-16.22A64.088 64.192 0 0 1 48.11 2.046 67.328 67.436 0 0 1 64.077.01c3.264-.076 6.936.293 9.756.789a63.987 64.09 0 0 1 53.481 53.529c.457 2.837.686 6.515.686 9.772 0 3.27-.229 6.947-.686 9.785a63.987 64.09 0 0 1-53.15 53.49c-2.503.433-6.175.611-9.274.624-3.646.013-7.241-.09-10.925-.649zm19.97-1.158a62.78 62.881 0 0 0 50.876-46.365 65.537 65.642 0 0 0 1.957-15.74 62.208 62.309 0 0 0-18.382-44.38A61.967 62.067 0 0 0 73.579 1.969a53.443 53.53 0 0 0-9.502-.788c-5.272.127-9.82.56-15.676 2.06A62.78 62.881 0 0 0 3.329 48.196 59.515 59.611 0 0 0 1.22 64.19c.013 5.344.61 9.975 2.147 15.867a62.653 62.754 0 0 0 50.814 46.073c3.582.649 7.24.636 10.861.623 2.973-.013 6.479-.204 8.918-.585z"/> <path fill="#558dfe" d="M59.326 121.777a57.737 57.83 0 1 1 13.338-.522c-3.646.548-10.086.815-13.338.484zm19.207-38.12.686-.726V68.426c0-16.083 0-16.414-1.626-19.022a12.106 12.126 0 0 0-4.459-4.263c-2.604-1.297-2.833-1.336-24.72-1.336-21.927 0-21.215-.063-21.825 1.298-.457 1.044-.432 28.056.064 30.308a11.382 11.4 0 0 0 8.676 8.704c.597.089 10.417.19 21.799.229h20.63zm21.532.318c.33-.319.394-2.469.394-19.875 0-17.788-.038-19.544-.42-19.938a.978.98 0 0 0-.977-.255c-.33.09-4.421 2.965-9.109 6.388l-8.524 6.247V71.76l8.46 6.133a298.63 299.112 0 0 0 8.779 6.285c.686.255.978.23 1.397-.203z"/> </svg> EOF echo "--- Start list files that will be packaged ---" find ${pkgdir} | sed "s|${pkgdir}||g" echo "--- End list files that will be packaged ---" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor