Simplify extraction process in package()

This commit is contained in:
David Thurstenson 2021-12-28 00:10:35 -06:00
parent 432388c4e8
commit cfdebcb5c9
1 changed files with 1 additions and 4 deletions

View File

@ -12,8 +12,5 @@ source=("https://github.com/trustcrypto/OnlyKey-App/releases/download/v${pkgver}
sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63') sha256sums=('10611139e7cb601e49453dd9297aa8be767956c8ff37ebebeae1ac9076008e63')
package() { package() {
bsdtar -O -xf "OnlyKey_${pkgver}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf - bsdtar -C "${pkgdir}" -xf "${srcdir}/data.tar.xz"
find "${pkgdir}" -type d -exec chmod 755 {} +
chmod 755 "${pkgdir}"/usr/share/applications/OnlyKey.desktop
} }