Simplify extraction process in package()
This commit is contained in:
parent
432388c4e8
commit
cfdebcb5c9
5
PKGBUILD
5
PKGBUILD
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue