Compare commits

..

1 Commits

1 changed files with 5 additions and 1 deletions

View File

@ -13,10 +13,14 @@ source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63') sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
package() { package() {
bsdtar -C "${pkgdir}" -xf "${srcdir}/data.tar.xz" bsdtar -O -xf "OnlyKey_${pkgver}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
find "${pkgdir}" -type d -exec chmod 755 {} +
local desktopfile="/usr/share/applications/OnlyKey.desktop" local desktopfile="/usr/share/applications/OnlyKey.desktop"
chmod 755 "${pkgdir}/${desktopfile}"
# Add shebang to desktop file # Add shebang to desktop file
sed -i '1 i\#!/usr/bin/env dex' "${pkgdir}/${desktopfile}" sed -i '1 i\#!/usr/bin/env dex' "${pkgdir}/${desktopfile}"