aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drawing/APKBUILD
blob: 78e56b2e10ed56afeaffe1cc12be7d482f1e6585 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=drawing
pkgver=0.8.5
pkgrel=0
pkgdesc="Simple image editor for Linux"
url="https://github.com/maoschanz/drawing"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	py3-cairo
	py3-gobject3
	"
makedepends="
	appstream-glib
	desktop-file-utils
	meson
	py3-cairo-dev
	py3-gobject3-dev
	"
source="
	https://github.com/maoschanz/drawing/archive/$pkgver/drawing-$pkgver.tar.gz
	fix-bindtextdomain.patch
	"
subpackages="$pkgname-lang"

build() {
	abuild-meson . build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

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

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="
e92c49d33bbc8cc1907e911bcafda92723ac9597e7f5986489fed8d356620512c36e8766e358b4192713a4e2c5decb0c5c50c2396e58c6ae2b462019278a234e  drawing-0.8.5.tar.gz
a82cf5bb7c6936a1db20c3ab92bde0359f03437cddd8afa0477dc6808692963f55e386ead0bd3d6b67a70ce8dbbe3e863bb0f818b4bbfcdf8960da1920c6006f  fix-bindtextdomain.patch
"