2019-10-17 19:52:36 +00:00
|
|
|
# Maintainer: Kiril Vladimiroff <kiril@vladimiroff.org>
|
2021-12-28 04:30:12 +00:00
|
|
|
# Contributor: David Thurstenson <thurstylark@gmail.com>
|
2019-10-17 19:52:36 +00:00
|
|
|
|
2021-12-28 04:43:50 +00:00
|
|
|
pkgname=onlykey-gui
|
2021-07-19 09:10:05 +00:00
|
|
|
pkgver=5.3.3
|
2021-12-28 07:06:45 +00:00
|
|
|
pkgrel=3
|
2019-03-30 00:43:43 +00:00
|
|
|
pkgdesc="OnlyKey Chrome Desktop App"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://onlykey.io/"
|
2021-12-28 07:21:44 +00:00
|
|
|
license=('Apache')
|
2021-12-28 07:06:45 +00:00
|
|
|
depends=('dex')
|
2021-12-28 04:30:12 +00:00
|
|
|
source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb")
|
|
|
|
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
|
2019-03-30 00:43:43 +00:00
|
|
|
|
|
|
|
package() {
|
2021-12-28 06:10:35 +00:00
|
|
|
bsdtar -C "${pkgdir}" -xf "${srcdir}/data.tar.xz"
|
2021-12-28 07:06:45 +00:00
|
|
|
|
|
|
|
local desktopfile="/usr/share/applications/OnlyKey.desktop"
|
|
|
|
|
|
|
|
# Create wrapper
|
|
|
|
|
|
|
|
(echo "#!/usr/bin/env sh"; echo "exec dex ${desktopfile}") > /usr/bin/onlykey-gui
|
2019-03-30 00:43:43 +00:00
|
|
|
}
|