aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drawing/APKBUILD
blob: 6c8cbd5a70756226ae1dce6371941ce5545e8a49 (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
44
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=drawing
pkgver=1.0.1
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
	itstool
	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="
68d1381e56233eded1562aa3632a4ae3e0afb0b2835530cfab8d30c56557d2e04915ef153b7965abe3ba00d603c7b0e354f37c088df382bb4345d55dc3fe7c2e  drawing-1.0.1.tar.gz
a82cf5bb7c6936a1db20c3ab92bde0359f03437cddd8afa0477dc6808692963f55e386ead0bd3d6b67a70ce8dbbe3e863bb0f818b4bbfcdf8960da1920c6006f  fix-bindtextdomain.patch
"