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