Compare commits
1 Commits
5f4f5312d8
...
ccab2b97cb
Author | SHA1 | Date |
---|---|---|
David Thurstenson | ccab2b97cb |
3
.SRCINFO
3
.SRCINFO
|
@ -1,10 +1,11 @@
|
||||||
pkgbase = onlykey-gui
|
pkgbase = onlykey-gui
|
||||||
pkgdesc = OnlyKey Chrome Desktop App
|
pkgdesc = OnlyKey Chrome Desktop App
|
||||||
pkgver = 5.3.3
|
pkgver = 5.3.3
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://onlykey.io/
|
url = https://onlykey.io/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
|
depends = dex
|
||||||
source = https://github.com/trustcrypto/OnlyKey-App/releases/download/v5.3.3/OnlyKey_5.3.3_amd64.deb
|
source = https://github.com/trustcrypto/OnlyKey-App/releases/download/v5.3.3/OnlyKey_5.3.3_amd64.deb
|
||||||
sha256sums = 10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63
|
sha256sums = 10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63
|
||||||
|
|
||||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -3,11 +3,12 @@
|
||||||
|
|
||||||
pkgname=onlykey-gui
|
pkgname=onlykey-gui
|
||||||
pkgver=5.3.3
|
pkgver=5.3.3
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="OnlyKey Chrome Desktop App"
|
pkgdesc="OnlyKey Chrome Desktop App"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://onlykey.io/"
|
url="https://onlykey.io/"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
depends=('dex')
|
||||||
source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb")
|
source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb")
|
||||||
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
|
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
|
||||||
|
|
||||||
|
@ -15,5 +16,15 @@ package() {
|
||||||
bsdtar -O -xf "OnlyKey_${pkgver}"*.deb 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 {} +
|
find "${pkgdir}" -type d -exec chmod 755 {} +
|
||||||
chmod 755 "${pkgdir}"/usr/share/applications/OnlyKey.desktop
|
|
||||||
|
local desktopfile="/usr/share/applications/OnlyKey.desktop"
|
||||||
|
|
||||||
|
chmod 755 "${pkgdir}/${desktopfile}"
|
||||||
|
|
||||||
|
# Add shebang to desktop file
|
||||||
|
sed -i '1 i\#!/usr/bin/env dex' "${pkgdir}/${desktopfile}"
|
||||||
|
|
||||||
|
# Add symlink to /usr/bin
|
||||||
|
mkdir -p "${pkgdir}/usr/bin/"
|
||||||
|
ln -s "${desktopfile}" "${pkgdir}/usr/bin/onlykey-gui"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue