generated from archlinux/template
Further improvements to Aseprite PKGBUILD.
This commit is contained in:
parent
7f62495148
commit
2123a4ee68
1
.SRCINFO
1
.SRCINFO
@ -32,6 +32,7 @@ pkgbase = aseprite
|
|||||||
depends = libfontconfig.so
|
depends = libfontconfig.so
|
||||||
depends = libxcursor
|
depends = libxcursor
|
||||||
noextract = Aseprite-v1.2.33-Source.zip
|
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 = 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 = skia-m96.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m96-2f1f21b8a9.tar.gz
|
||||||
source = desktop.patch
|
source = desktop.patch
|
||||||
|
5
PKGBUILD
5
PKGBUILD
@ -48,7 +48,8 @@ source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprit
|
|||||||
shared-libwebp.patch
|
shared-libwebp.patch
|
||||||
shared-skia-deps.patch
|
shared-skia-deps.patch
|
||||||
optional-pixman.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'
|
sha256sums=('c3a86005f59483fcfcedae89bf82dfc6f82bba8d5244835ca4c005beab31435b'
|
||||||
'aa999a6d457f657e0a895340870aa84256ef9b7b65d1c4f107b51461119495ff'
|
'aa999a6d457f657e0a895340870aa84256ef9b7b65d1c4f107b51461119495ff'
|
||||||
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
|
'8b14e36939e930de581e95abf0591645aa0fcfd47161cf88b062917dbaaef7f9'
|
||||||
@ -64,7 +65,7 @@ prepare() {
|
|||||||
bsdtar -xf "${noextract[0]}" -C aseprite
|
bsdtar -xf "${noextract[0]}" -C aseprite
|
||||||
# Extract Skia's sources
|
# Extract Skia's sources
|
||||||
mkdir -p skia
|
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
|
# Fix up Aseprite's desktop integration
|
||||||
env -C aseprite patch -tp1 <desktop.patch
|
env -C aseprite patch -tp1 <desktop.patch
|
||||||
# Allow using more shared libs
|
# Allow using more shared libs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user