void-packages/srcpkgs/protonmail-bridge/template

25 lines
700 B
Bash

# Template file for 'protonmail-bridge'
pkgname=protonmail-bridge
version=1.4.4
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=70938512bde6d6d072147ba593e40c67b70bc0e85fa976e656d6174309a80d22
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
}