blob: 108472e7517873717ddae84f54a83b4ba7334aee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Maxwell Fortney <maxwellfortney@gmail.com>
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"
}
|