Compare commits
1 Commits
5f4f5312d8
...
ccab2b97cb
Author | SHA1 | Date |
---|---|---|
David Thurstenson | ccab2b97cb |
6
PKGBUILD
6
PKGBUILD
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue