2
0
Fork 0
authy/PKGBUILD

33 lines
962 B
Bash
Raw Permalink Normal View History

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
2024-02-13 15:48:05 +02:00
pkgver=2.5.0
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')
depends=('electron')
makedepends=('npm' 'unzip' 'asar')
2022-12-15 12:32:44 +02:00
source=("https://pkg.authy.com/authy/stable/${pkgver}/win32/x64/authy-${pkgver}-full.nupkg"
2019-01-28 03:18:34 +02:00
"authy.desktop")
2024-02-13 15:48:05 +02:00
sha1sums=('706abaf8d44abebf1af3d0cb38e84cd49159693e'
'ad25b45eba0fe935dedfb008f08b005f3bc2504f')
2019-01-28 03:18:34 +02:00
build() {
cd "$srcdir"
2022-03-09 20:17:38 +02:00
unzip -o -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() {
cd "$srcdir"
2019-01-28 03:18:34 +02: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
}