ayaports/apk/main/signal-desktop/APKBUILD
build@apk-groulx c405869d60 * testing/craftbukkit-plugin-vault: move from main
* main/dotnet{21,31,5,6}: removed as in Alpine aports
* main/freshrss-auto-refresh: upgrade
* main/freshrss-redditimage: upgrade
* main/freshrss-threepanesview: upgrade
* main/freshrss-wallabag: upgrade
* main/freshrss-youtube: upgrade
* main/hsxkpasswd: new aport
* main/jellyfin: upgrade
* main/jellyfin-ffmpeg: upgrade
* main/perl-file-share: new aport
* main/paperless-ng: upgrade
* main/pass: upgrade
* main/py3-daemon: new aport
* main/py3-poetry-core: upgrade
* main/roxy-wi: rename from haproxy-wi
* main/signal-desktop: new aport
* main/skia-sharp: upgrade
* testing/dam: upgrade
* testing/firefly-iii-plaid-connector: upgrade
2022-07-29 15:01:12 +00:00

60 lines
1.7 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=signal-desktop
_pkgname=Signal-Desktop
pkgver=5.52.0
pkgrel=0
pkgdesc="Signal Private Messenger for Linux"
license="GPL-3.0-only"
arch="x86_64"
url="https://signal.org"
depends="hicolor-icon-theme"
makedepends="
alsa-lib-dev
git
gtk+3.0
nodejs
npm
openjpeg-dev
python3
libxscrnsaver-dev
vips-dev
yarn
"
source="
$pkgname-$pkgver.tar.gz::https://github.com/signalapp/$_pkgname/archive/v$pkgver.tar.gz
$pkgname.desktop
expire-from-source-date-epoch.patch
"
builddir="$_pkgname-$pkgver"
prepare() {
# Allow higher Node versions
sed 's#"node": "#&>=#' -i package.json
yarn install --ignore-engines
}
build() {
yarn generate
yarn build
}
package() {
install -d "${pkgdir}/usr/"{lib,bin}
cp -a release/linux-unpacked "${pkgdir}/usr/lib/${pkgname}"
ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/"
chmod u+s "${pkgdir}/usr/lib/signal-desktop/chrome-sandbox"
install -Dm 644 "../${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
for i in 16 24 32 48 64 128 256 512 1024; do
install -Dm 644 "build/icons/png/${i}x${i}.png" "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png"
done
}
sha512sums="
64e6ff2dba4525b5bb6bc45f8f8aa422a4ac5da0688d9d6fd9b621d1c4fe288b37f1b6f4b48d92022deea4e8da155297504ea77a5434ec23099e421f3f572cfc signal-desktop-5.52.0.tar.gz
90cfee563a985bc73c4e7984715d190ae0b5c7aa887a7dc15c665980ca5cc8420b02f6c7a54e032c29e18876d5d51cfbe5027a9f0a59de3903f50fd469d73ce0 signal-desktop.desktop
1154859e87d8a2d649bc23210f2dd8aa473f268166559a51a2a64fe6ae094c101121535623b05b711bd87aab1f219627e9274fa542fdb0e5fe6f34b46fd7b7df expire-from-source-date-epoch.patch
"