void-packages/srcpkgs/signal-backup-decode/template

20 lines
655 B
Bash

# Template file for 'signal-backup-decode'
pkgname=signal-backup-decode
version=0.2.3
revision=3
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel sqlite-devel"
short_desc="Decode Signal Android Backups"
maintainer="Spencer Burris <sburris@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/pajowu/signal-backup-decode"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=e7727b6628004cd027e374bcd8a004d8c3e68b3ba03e82ce2c9e04ee58623ed2
post_patch() {
# required for openssl3 compat
cargo update --package openssl-sys:0.9.60 --precise 0.9.80
cargo update --package openssl:0.10.32 --precise 0.10.45
}