lesebas

pkgbuild wavebox rel 2

May 15th, 2020
222
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Kevin Williams <kw@outlook.com>
  2. #contributor : Sebastien Deligny <sebdelignyatgmaildotcom>
  3.  
  4. pkgname=wavebox
  5. pkgver=10.0.158
  6. wvbx_rel=2
  7. pkgrel=1
  8. pkgdesc="The next generation of web-desktop communication."
  9. arch=(x86_64)
  10. url="https://wavebox.io"
  11. license=('custom:Wavebox-EULA')
  12. depends=('ttf-liberation' 'libappindicator-gtk3' 'at-spi2-atk' 'cairo' 'libcups' 'gdk-pixbuf2' 'glib2' 'gtk3' 'nspr' 'nss' 'libxss' 'wget' 'xdg-utils')
  13. optdepends=('pam-u2f: Two-Factor Auth')
  14. conflicts=('wavebox-bin' 'wavebox-bin-beta')
  15. source=("https://download.wavebox.app/core/linux/tar/Wavebox_$pkgver-$wvbx_rel.tar.gz"
  16.         'wavebox.appdata.xml'
  17.         'wavebox.menu'
  18.         'LICENSE')
  19. md5sums=('6309176710ee60a2b57f91ee2e4de493'
  20.          '170a7d4e04402fa5c759e8f5e87e9d9c'
  21.          '4f08794ea93eafd0e77b522ac7738638'
  22.          'b92c8854e4553540df6bc998afe68cc4')
  23.  
  24. prepare() {
  25.     cd "${srcdir}/${pkgname}_$pkgver-$wvbx_rel"
  26.     # patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
  27. }
  28.  
  29. package() {
  30.     cd "${srcdir}/${pkgname}_$pkgver-$wvbx_rel"
  31.  
  32.     install -Dm 644 ${srcdir}/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  33.     install -Dm 644 ${srcdir}/wavebox.appdata.xml ${pkgdir}/usr/share/appdata/wavebox.appdata.xml
  34.     install -Dm 755 wavebox.desktop ${pkgdir}/usr/share/applications/wavebox.desktop
  35.     install -Dm 644 product_logo_256.png  ${pkgdir}/usr/share/icons/hicolor/256x256/apps/wavebox.png
  36.     install -Dm 644 ${srcdir}/wavebox.menu ${pkgdir}/usr/share/menu/wavebox.menu
  37.     install -dm 755 ${pkgdir}/opt/wavebox.io
  38.  
  39.     cp -r ../"${pkgname}_$pkgver-$wvbx_rel" ${pkgdir}/opt/wavebox.io/wavebox
  40. }
RAW Paste Data