void-packages/srcpkgs/protonmail-bridge/template

25 lines
700 B
Bash

# Template file for 'protonmail-bridge'
pkgname=protonmail-bridge
version=1.3.3
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=3a434001f7e5439021999d0e6739021a2a63a1804f1245cf6f42aac7b6b4c283
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
}