blob: 10c692995354f681d25155c31e8314b57a011344 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: AlphaLynx <alphalynx at alphalynx dot dev>
pkgname=proton-authenticator-bin
_name=${pkgname%-bin}
pkgver=1.1.4
pkgrel=2
pkgdesc='2FA app from Proton to securely sync and backup 2FA codes'
arch=('x86_64')
url='https://proton.me/authenticator'
license=('GPL-3.0-or-later')
depends=('cairo'
'dbus'
'gcc-libs'
'gdk-pixbuf2'
'glib2'
'glibc'
'gtk3'
'hicolor-icon-theme'
'libsoup3'
'pango'
'webkit2gtk-4.1')
provides=("$_name")
conflicts=("$_name")
source_x86_64=("https://proton.me/download/authenticator/linux/ProtonAuthenticator_${pkgver}_amd64.deb")
sha512sums_x86_64=('f442dbf6c798586316f0e49cdfec999787cee3a0e1b42d43a868405e4f1f33496eb9e20a15209ad31595b26ac795eb7808bc10c341658c89732727bef5ca55de')
b2sums_x86_64=('8a74c7950ec4e9d3bb678266010b8c004b3fe49788ad93275bfe5c70cf353ca457ee3ec6e0ce5c8b54c03ab3bc6577c40f4ae6cf4c8c19947b34c48f34d5f6ec')
prepare() {
tar -xf data.tar.gz
# Fix display issue on Wayland+Nvidia and X11
sed -i 's/Exec=proton-authenticator/Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 proton-authenticator/' \
"usr/share/applications/Proton Authenticator.desktop"
}
package() {
cp -r usr "$pkgdir/"
}
|