# Maintainer: Maxwell Fortney pkgname=bluebubbles-desktop-app pkgver=1.0.3 pkgrel=1 pkgdesc="Open source cross-platform iMessage client" arch=('x86_64') url="https://bluebubbles.app/" license=('unknown') optdepends=('noto-fonts-emoji') changelog= sha256sums=('87848a927167d0235fe6b60bd4c327033f7784a197906ae94b59e431b7bf4032') source=("$pkgname-$pkgver.deb::https://github.com/BlueBubblesApp/BlueBubbles-Desktop-App/releases/download/v$pkgver/$pkgname-$pkgver.deb") package() { #Get the data from the deb tar -xvf data.tar.xz # Install the main files. install -d "${pkgdir}/opt/BlueBubbles" cp -a "./opt/BlueBubbles/." "${pkgdir}/opt/BlueBubbles" # Install desktop shortcut and bin install -Dm644 "./usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" install -d "${pkgdir}/usr/bin" ln -s "/opt/BlueBubbles/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" # Create symbolic link to the icon install -d "${pkgdir}/usr/share/pixmaps" ln -s "/opt/BlueBubbles/resources/resources/icon1024.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" # Create tray icon to temporarily fix close button bug ln -s "/opt/BlueBubbles/resources/resources/icon1024.png" "${pkgdir}/opt/BlueBubbles/resources/resources/67bdc3519553d5530a5ee09ba21f7602.png" }