blob: 501c9f2088058a37126d635f7c4d6bdcc22ebce5 (
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 : Kr1ss $(echo \<kr1ss+x-yandex+com\>|sed s/\+/./g\;s/\-/@/)
# Contributor : Mélanie Chauvel (ariasuni) <perso@hack-libre.org>
pkgname=whalebird-bin
pkgver=4.2.1
pkgrel=1
pkgdesc='Electron based multi-platform client for Mastodon, Misskey & Pleroma'
arch=('x86_64')
url="https://${pkgname%-bin}.org"
license=('MIT')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk3')
source=("https://github.com/h3poteto/${pkgname%-bin}-desktop/releases/download/$pkgver/Whalebird-$pkgver-linux-x64.rpm")
sha256sums=('b0b21070b719a16f29c88b66bcea37ac503b6ef3f43a2ce880aa56a4810f6677')
package() {
install -Dm644 opt/Whalebird/LICENSE* -t"$pkgdir/usr/share/licenses/${pkgname%-bin}/"
cp -R usr/share/* "$pkgdir/usr/share/"
cp -R opt "$pkgdir/"
install -dm755 "$pkgdir/usr/bin"
ln -s "/opt/Whalebird/${pkgname%-bin}" "$pkgdir/usr/bin/"
}
# vim: ts=2 sw=2 et ft=PKGBUILD:
|