summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3792ded6bede0c5c1964a601ab1c603d44660b2 (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
# Maintainer: buj <buj351@outlook.com>
pkgname=voidsprite
_pkgver=19.10.2024
pkgver=${_pkgver}+alpha
pkgrel=1
pkgdesc='Free pixelart editor made in SDL2 C++'
url='https://github.com/counter185/voidsprite'
source=("voidsprite::git+https://github.com/counter185/voidsprite.git#tag=alpha${_pkgver}")
arch=('i686' 'x86_64')
sha256sums=(SKIP)
depends=(sdl2 sdl2_image sdl2_ttf libpng pugixml xdg-utils)
makedepends=(git meson gcc ninja python)
license=(GPL-2.0-only)

build() {
    arch-meson voidsprite build
    meson compile -C build
}

check() {
    meson test -C build --print-errorlogs
}

package() {
    meson install -C build --destdir "$pkgdir"
}