void-packages/srcpkgs/protonmail-bridge/template

25 lines
700 B
Bash

# Template file for 'protonmail-bridge'
pkgname=protonmail-bridge
version=1.2.7
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=b61c7aa1f616e671c8c01697886f47ffb9ffead3d09203d2f09ec7a635af6cb1
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
}