generated from archlinux/template
Improvement to previous commit.
Download skia as `skia-$_skiaver.tar.gz` to prevent sourcefile collisions.
This commit is contained in:
parent
c83b6597a8
commit
7f62495148
2
.SRCINFO
2
.SRCINFO
@ -33,7 +33,7 @@ pkgbase = aseprite
|
|||||||
depends = libxcursor
|
depends = libxcursor
|
||||||
noextract = Aseprite-v1.2.33-Source.zip
|
noextract = Aseprite-v1.2.33-Source.zip
|
||||||
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.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
|
||||||
source = shared-fmt.patch
|
source = shared-fmt.patch
|
||||||
source = shared-libarchive.patch
|
source = shared-libarchive.patch
|
||||||
|
5
PKGBUILD
5
PKGBUILD
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
pkgname=aseprite
|
pkgname=aseprite
|
||||||
pkgver=1.2.33
|
pkgver=1.2.33
|
||||||
|
_skiaver=m96
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc='Create animated sprites and pixel art'
|
pkgdesc='Create animated sprites and pixel art'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -38,7 +39,7 @@ makedepends=(# "Meta" dependencies
|
|||||||
)
|
)
|
||||||
source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-Source.zip"
|
source=("https://github.com/aseprite/aseprite/releases/download/v$pkgver/Aseprite-v$pkgver-Source.zip"
|
||||||
# Which branch a given build of Aseprite requires is noted in its `INSTALL.md`
|
# Which branch a given build of Aseprite requires is noted in its `INSTALL.md`
|
||||||
"skia.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/m96-2f1f21b8a9.tar.gz"
|
"skia-$_skiaver.tar.gz::https://github.com/aseprite/skia/archive/refs/tags/$_skiaver-2f1f21b8a9.tar.gz"
|
||||||
desktop.patch
|
desktop.patch
|
||||||
shared-fmt.patch
|
shared-fmt.patch
|
||||||
# Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
|
# Based on https://patch-diff.githubusercontent.com/raw/aseprite/aseprite/pull/2535.patch
|
||||||
@ -63,7 +64,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.tar.gz -C skia
|
bsdtar -xf skia-$_skiaver.tar.gz -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