generated from archlinux/template
Further improvements to Aseprite PKGBUILD.
This commit is contained in:
5
PKGBUILD
5
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 <desktop.patch
|
||||
# Allow using more shared libs
|
||||
|
||||
Reference in New Issue
Block a user