Further improvements to Aseprite PKGBUILD.

This commit is contained in:
ImperatorStorm
2022-03-11 15:24:20 -08:00
parent 7f62495148
commit 2123a4ee68
2 changed files with 4 additions and 2 deletions

View File

@@ -48,7 +48,8 @@ source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprit
shared-libwebp.patch
shared-skia-deps.patch
optional-pixman.patch)
noextract=("${source[0]##*/}") # Don't extract Aseprite sources at the root
noextract=("Aseprite-v$pkgver-Source.zip"
"skia-$_skiaver.tar.gz") # Don't extract Aseprite or skia sources at the root
sha256sums=('c3a86005f59483fcfcedae89bf82dfc6f82bba8d5244835ca4c005beab31435b'
'aa999a6d457f657e0a895340870aa84256ef9b7b65d1c4f107b51461119495ff'
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
@@ -64,7 +65,7 @@ prepare() {
bsdtar -xf "${noextract[0]}" -C aseprite
# Extract Skia's sources
mkdir -p skia
bsdtar -xf skia-$_skiaver.tar.gz -C skia
bsdtar xf skia-$_skiaver.tar.gz --strip-components=1 -C skia
# Fix up Aseprite's desktop integration
env -C aseprite patch -tp1 <desktop.patch
# Allow using more shared libs