void-packages/srcpkgs/protonmail-bridge/template
Joseph Benden 3097cacfe8 protonmail-bridge: update to 1.2.6.
Signed-off-by: Joseph Benden <joe@benden.us>
2020-03-28 17:09:20 +01:00

24 lines
700 B
Bash

# Template file for 'protonmail-bridge'
pkgname=protonmail-bridge
version=1.2.6
revision=1
archs="x86_64"
build_style=fetch
depends="desktop-file-utils"
short_desc="ProtonMail Bridge for use with E-mail software"
maintainer="Rich G <rich@richgannon.net>"
license="custom:Commercial"
homepage="https://protonmail.com/bridge"
distfiles="https://protonmail.com/download/beta/protonmail-bridge_${version}-1_amd64.deb"
checksum=fff4ad507f6264a0530973315409f50adbb5ca885a98ffe8ee96fac59b6a0ee1
restricted=yes
noverifyrdeps=yes
nopie=yes
do_install() {
ar x protonmail-bridge_${version}-1_amd64.deb data.tar.xz
bsdtar xpvf data.tar.xz
cp -r usr ${DESTDIR}
vlicense usr/lib/protonmail/bridge/LICENSE
}