Created
August 17, 2020 10:03
-
-
Save nightscape/e73c206f29bd1f95690cdee23f5a6777 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 5c7a59af9bdce47e7168bbd5b4d3db5ee57e36a2 Mon Sep 17 00:00:00 2001 | |
From: Martin Mauch <[email protected]> | |
Date: Mon, 17 Aug 2020 12:01:52 +0200 | |
Subject: [PATCH] Fix zst decompression | |
--- | |
PKGBUILD | 6 ++---- | |
1 file changed, 2 insertions(+), 4 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index e083656..0bc5feb 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -33,10 +33,9 @@ depends=( | |
makedepends=( | |
'binutils' | |
'tar' | |
- 'xz' | |
+ 'zstd' | |
) | |
-# source_x86_64=("https://tel.red/repos/archlinux/sky-archlinux-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.xz") | |
source_x86_64=("https://tel.red/repos/archlinux/sky-archlinux-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.zst") | |
sha256sums_x86_64=('cec12e235c1639a270dbe634a3f849f99488d8795fcf88d33e491f286123252c') | |
@@ -46,8 +45,7 @@ package() { | |
local _sky_datadir=( "${_sky_bindir}/sounds" ) | |
cd "${pkgdir}" | |
- # tar -Jxf "${srcdir}/sky-archlinux-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.xz" | |
- tar -Jxf "${srcdir}/sky-archlinux-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.zst" | |
+ tar -xf "${srcdir}/sky-archlinux-${pkgver}-${pkgrel}-${CARCH}.pkg.tar.zst" | |
find "${pkgdir}" -maxdepth 1 -type f -delete | |
} | |
-- | |
2.28.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment