# Maintainer: Kiril Vladimiroff # Contributor: David Thurstenson pkgname=onlykey pkgver=5.3.3 pkgrel=2 pkgdesc="OnlyKey Chrome Desktop App" arch=('x86_64') url="https://onlykey.io/" license=('custom') source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb") sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63') package() { bsdtar -O -xf "OnlyKey_${pkgver}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf - find "${pkgdir}" -type d -exec chmod 755 {} + chmod 755 "${pkgdir}"/usr/share/applications/OnlyKey.desktop }