🔒 Repository is read-only – file editing is disabled.

recipes/gui/whatsapp-for-linux/PAGBUILD.yaml main

44 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'whatsapp-for-linux'
pkgver: '1.0.1'
pkgrel: '3'
pkgdesc: 'An unofficial WhatsApp desktop application for linux'
url: 'https://github.com/eneshecan/whatsapp-for-linux'
arch: x86_64
license:
- GPL3

depends:
- 'hicolor-icon-theme'
- 'desktop-file-utils'
- 'gtk-update-icon-cache'
- 'shared-mime-info'
- 'gstreamer-plugins-libav'
- 'gstreamer-plugins-base'
- 'gstreamer-plugins-good'
- 'gstreamer-plugins-bad'

makedepends:
- openssl
- libcanberra
- gtkmm
- 'webkit2gtk-4'
- 'libayatana-appindicator'

source:
- 'https://github.com/sayedulsayem/whatsapp-linux-desktop/releases/download/v1.0.1/whatsapp-linux-desktop-${pkgver}-amd64.deb'

sha256sums:
- SKIP

build: |
  bsdtar -xf *.deb
  tar -xvf data.tar.xz --exclude=usr/share/doc -C "${PKGDIR}/"

  cd ${PKGDIR}/usr/share
  sed -i 's/WhatsApp Desktop/whatsapp-for-linux/g' applications/whatsapp-linux-desktop.desktop
  sed -i 's/;Office//g' applications/whatsapp-linux-desktop.desktop

  mv ${PKGDIR}/opt/'WhatsApp Desktop' ${PKGDIR}/opt/${pkgname}

package: |
  true