diff options
author | Kiril Vladimiroff | 2019-08-12 00:39:42 +0300 |
---|---|---|
committer | Kiril Vladimiroff | 2019-08-12 00:39:42 +0300 |
commit | 29b5bef72056d5ec06e4b2d6ebfb67c8960be387 (patch) | |
tree | 0d121b7f2487364312f81ba55afa5cba0e233ac2 | |
parent | a5757f138e77f73dcc8ea75755b5d7afd995d00b (diff) | |
download | aur-29b5bef72056d5ec06e4b2d6ebfb67c8960be387.tar.gz |
Update to 5.1.0
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
@@ -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 - - - find "${pkgdir}" -type d -exec chmod 755 {} + - chmod 755 "${pkgdir}"/usr/share/applications/OnlyKey.desktop + 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}/usr/lib/udev/rules.d/49-onlykey.rules" + install -Dm 644 49-onlykey.rules "${pkgdir}/etc/udev/rules.d/49-onlykey.rules" } |