2020-06-02 21:52:31 +03:00
|
|
|
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
|
|
|
|
# Contributor: Timmy Yao <timmy.yao+aur@gmail.com>
|
2020-09-07 15:00:38 +03:00
|
|
|
pkgname=authy-desktop-win32-bin
|
2021-07-27 17:42:24 +03:00
|
|
|
pkgver=1.8.4
|
|
|
|
pkgrel=1
|
2019-01-28 03:18:34 +02:00
|
|
|
pkgdesc="Two-Factor Authentication from your PC. Converted from Windows electron version"
|
|
|
|
arch=("x86_64")
|
2020-09-07 15:00:38 +03:00
|
|
|
provides=('authy')
|
|
|
|
conflicts=('authy')
|
2019-01-28 03:18:34 +02:00
|
|
|
url="https://authy.com/"
|
2020-09-07 15:00:38 +03:00
|
|
|
license=('unknown')
|
2020-10-17 20:03:56 +03:00
|
|
|
depends=('electron9')
|
2021-07-27 17:42:24 +03:00
|
|
|
makedepends=('npm' 'unzip' 'asar')
|
|
|
|
source=("https://s3.amazonaws.com/authy-electron-repository-production/authy/stable/${pkgver}/win32/x64/authy-${pkgver}-full.nupkg"
|
2019-01-28 03:18:34 +02:00
|
|
|
"authy.desktop")
|
2021-07-27 17:42:24 +03:00
|
|
|
sha1sums=("0cc919351a05be403ab366bec4f8961df5817b40"
|
|
|
|
"5eaa6f0152eeaf93740dfcd2a94b5fbf6b6c4984")
|
2019-01-28 03:18:34 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"
|
|
|
|
|
2021-07-27 17:42:24 +03:00
|
|
|
unzip -j "authy-$pkgver-full.nupkg" lib/net45/resources/app.asar
|
|
|
|
asar extract-file lib/net45/resources/app.asar img/logos/icon128.png
|
2019-01-28 03:18:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-07-27 17:42:24 +03:00
|
|
|
cd "$srcdir"
|
2019-01-28 03:18:34 +02:00
|
|
|
|
2021-07-27 17:42:24 +03:00
|
|
|
install -Dm644 -t "${pkgdir}"/usr/lib/authy app.asar icon128.png
|
2019-01-28 03:18:34 +02:00
|
|
|
install -Dm644 "$srcdir"/authy.desktop -t "$pkgdir"/usr/share/applications
|
|
|
|
}
|
|
|
|
|