blob: 61b592a60e8c3e078c4e8f78f217b163b7447dc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: buj <buj351@outlook.com>
pkgname=voidsprite-git
pkgver=2025.03.18+git
pkgrel=1
pkgdesc='Free pixelart editor made in SDL3 C++'
url='https://github.com/counter185/voidsprite'
source=('voidsprite::git+https://github.com/counter185/voidsprite.git')
arch=('i686' 'x86_64')
conflicts=('voidsprite')
provides=('voidsprite')
sha256sums=(SKIP)
depends=(sdl3 sdl3_image sdl3_ttf libpng pugixml xdg-utils libjxl brotli)
makedepends=(git meson gcc ninja python)
license=(GPL-2.0-only)
pkgver() {
# voidsprite verisons are dmy dates, but we switch the order so pacman doesn't complain
cd "$srcdir/voidsprite"
echo $(git show -1 --no-patch --format=%ci | cut -f1 -d\ | tr - .)+git
}
build() {
arch-meson voidsprite build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|