-
-
Save dewyatt/1b29ec47240c519179142aee388daf03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: primetoxinz | |
pkgname=onlykey | |
pkgver=5.1.0 | |
pkgrel=1 | |
pkgdesc="OnlyKey Chrome Desktop App" | |
arch=('x86_64') | |
url="https://onlykey.io/" | |
license=('custom') | |
#depends=('') | |
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 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" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 9be4efa..ac2ef1c 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,21 +1,21 @@ | |
# 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" | |
+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=('517d8d795b4a293b773676623997464b91e7756f1e2454b5e6c3c692fd467ed3' | |
+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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment