2019-10-17 19:52:36 +00:00
|
|
|
# Maintainer: Kiril Vladimiroff <kiril@vladimiroff.org>
|
|
|
|
|
2019-03-30 00:43:43 +00:00
|
|
|
pkgname=onlykey
|
2021-01-05 20:03:37 +00:00
|
|
|
pkgver=5.3.1
|
2020-10-27 08:10:59 +00:00
|
|
|
pkgrel=1
|
2019-03-30 00:43:43 +00:00
|
|
|
pkgdesc="OnlyKey Chrome Desktop App"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://onlykey.io/"
|
|
|
|
license=('custom')
|
2019-08-19 12:32:37 +00:00
|
|
|
source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb"
|
|
|
|
"49-onlykey.rules")
|
2021-01-05 20:03:37 +00:00
|
|
|
sha256sums=('ba8e0b4a5228ff1a6c2b19b9f93cb3125bc8273ea0a947bbc82770343b167bda'
|
2019-08-19 12:32:37 +00:00
|
|
|
'6bb0a54748ec6ce1a1186b41f45a6bfc1363998c1a88722a8f1518c3278aabef')
|
2019-03-30 00:43:43 +00:00
|
|
|
|
|
|
|
package() {
|
2019-08-11 21:39:42 +00:00
|
|
|
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
|
2019-03-30 00:43:43 +00:00
|
|
|
|
2019-08-11 21:39:42 +00:00
|
|
|
install -Dm 644 49-onlykey.rules "${pkgdir}/etc/udev/rules.d/49-onlykey.rules"
|
2019-03-30 00:43:43 +00:00
|
|
|
}
|