# Maintainer : Kr1ss $(echo \|sed s/\+/./g\;s/\-/@/) # Contributor : Mélanie Chauvel (ariasuni) pkgname=whalebird-bin _name="${pkgname%-bin}" pkgver=4.4.5 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: