blob: 9221b2763ed8e24b3c9e79987051a0f9d40c4b6f (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=android-messages-desktop-bin
pkgver=5.6.0
pkgrel=1
pkgdesc="Android Messages as a cross-platform desktop app"
arch=('x86_64')
url="https://github.com/OrangeDrangon/android-messages-desktop"
license=('MIT')
depends=('alsa-lib' 'gtk3' 'nss')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("$url/releases/download/v$pkgver/Android.Messages-v$pkgver-linux-x64.pacman"
"$url/raw/v$pkgver/LICENSE")
sha256sums=('a7449851270ff0bf4c9deaaadda374fb9dbd7d362f07f3a85d25c0a83db836c7'
'3ad8e115711a8eca0050f768179efdca0f978b195a9c4f856a9d805628d3886c')
package() {
install -d "$pkgdir/opt/"
cp -a opt/Android\ Messages "$pkgdir/opt/"
install -Dm644 usr/share/applications/AndroidMessages.desktop -t \
"$pkgdir/usr/share/applications/"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-bin}"
for i in 16 24 32 48 64 128 256 512 1024; do
install -Dm644 "usr/share/icons/hicolor/${i}x${i}/apps/AndroidMessages.png" -t \
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/"
done
}
|