void-packages/srcpkgs/protonmail-bridge/template

25 lines
700 B
Bash

# Template file for 'protonmail-bridge'
pkgname=protonmail-bridge
version=1.2.8
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=4ab1254088f4a56512f3e20adcf8d19bb8aaf659dddf8d50590f7fe02bc69adc
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
}