Update to 5.1.0

This commit is contained in:
Kiril Vladimiroff 2019-08-12 00:39:42 +03:00
parent a5757f138e
commit 29b5bef720
No known key found for this signature in database
GPG Key ID: E8AC87A89B24A670
1 changed files with 10 additions and 14 deletions

View File

@ -1,24 +1,20 @@
# Maintainer: primetoxinz
pkgname=onlykey
pkgver=5.0.0
pkgver=5.1.0
pkgrel=1
pkgdesc="OnlyKey Chrome Desktop App"
arch=('x86_64')
url="https://onlykey.io/"
license=('custom')
#depends=('')
source=("https://s3.amazonaws.com/onlykey/apps/desktop/releases/latest/OnlyKey_${pkgver}.deb.gz"
"https://raw.githubusercontent.com/trustcrypto/trustcrypto.github.io/master/49-onlykey.rules")
sha256sums=('517d8d795b4a293b773676623997464b91e7756f1e2454b5e6c3c692fd467ed3'
'23f3d18e8c5cd02823954f0065956b69e07bbdfeac95a04589beb33a154526c0')
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=('4638ce8b21c66b6f414d937d08ba01917db3d20b050630e6b456c338ba1c9e06'
'23f3d18e8c5cd02823954f0065956b69e07bbdfeac95a04589beb33a154526c0')
package() {
bsdtar -O -xf "OnlyKey_${pkgver}"*.deb.gz data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
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
find "${pkgdir}" -type d -exec chmod 755 {} +
chmod 755 "${pkgdir}"/usr/share/applications/OnlyKey.desktop
install -Dm 644 49-onlykey.rules "${pkgdir}/usr/lib/udev/rules.d/49-onlykey.rules"
install -Dm 644 49-onlykey.rules "${pkgdir}/etc/udev/rules.d/49-onlykey.rules"
}