Compare commits
No commits in common. "dex-shebang-symlink" and "master" have entirely different histories.
dex-sheban
...
master
3
.SRCINFO
3
.SRCINFO
|
@ -1,11 +1,10 @@
|
|||
pkgbase = onlykey-gui
|
||||
pkgdesc = OnlyKey Chrome Desktop App
|
||||
pkgver = 5.3.3
|
||||
pkgrel = 3
|
||||
pkgrel = 2
|
||||
url = https://onlykey.io/
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
depends = dex
|
||||
source = https://github.com/trustcrypto/OnlyKey-App/releases/download/v5.3.3/OnlyKey_5.3.3_amd64.deb
|
||||
sha256sums = 10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63
|
||||
|
||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -3,24 +3,14 @@
|
|||
|
||||
pkgname=onlykey-gui
|
||||
pkgver=5.3.3
|
||||
pkgrel=3
|
||||
pkgrel=2
|
||||
pkgdesc="OnlyKey Chrome Desktop App"
|
||||
arch=('x86_64')
|
||||
url="https://onlykey.io/"
|
||||
license=('Apache')
|
||||
depends=('dex')
|
||||
source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}/OnlyKey_${pkgver}_amd64.deb")
|
||||
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
|
||||
|
||||
package() {
|
||||
bsdtar -C "${pkgdir}" -xf "${srcdir}/data.tar.xz"
|
||||
|
||||
local desktopfile="/usr/share/applications/OnlyKey.desktop"
|
||||
|
||||
# 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