diff --git a/.SRCINFO b/.SRCINFO index 472a883..ae96573 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -32,6 +32,7 @@ pkgbase = aseprite depends = libfontconfig.so depends = libxcursor noextract = Aseprite-v1.2.33-Source.zip + noextract = skia-m96.tar.gz source = https://github.com/aseprite/aseprite/releases/download/v1.2.33/Aseprite-v1.2.33-Source.zip source = skia-m96.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m96-2f1f21b8a9.tar.gz source = desktop.patch diff --git a/PKGBUILD b/PKGBUILD index 53a8a46..ab17bd2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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