Skip to content

Instantly share code, notes, and snippets.

@JulienRobitaille
Last active January 5, 2021 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulienRobitaille/1fc583886400aaecc080ec1bef078a87 to your computer and use it in GitHub Desktop.
Save JulienRobitaille/1fc583886400aaecc080ec1bef078a87 to your computer and use it in GitHub Desktop.
Onlykey desktop app 5.3.1
pkgname=onlykey
pkgver=5.3.1
pkgrel=1
pkgdesc="OnlyKey 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"
"https://raw.githubusercontent.com/trustcrypto/trustcrypto.github.io/master/49-onlykey.rules")
sha256sums=('ba8e0b4a5228ff1a6c2b19b9f93cb3125bc8273ea0a947bbc82770343b167bda'
'aa3398b13113c48a9214bdfe625e55317b06da8b1ce3d0c701e43470218949de')
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
install -Dm 644 49-onlykey.rules "${pkgdir}/etc/udev/rules.d/49-onlykey.rules"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment