Compare commits

..

2 Commits

1 changed files with 1 additions and 5 deletions

View File

@ -13,14 +13,10 @@ source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
package() {
bsdtar -O -xf "OnlyKey_${pkgver}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
find "${pkgdir}" -type d -exec chmod 755 {} +
bsdtar -C "${pkgdir}" -xf "${srcdir}/data.tar.xz"
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}"