aboutsummaryrefslogtreecommitdiffstats
path: root/community/mypaint-brushes2/APKBUILD
blob: 04894bde3b408424824d46351827b2bd73e3edf2 (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
35
36
37
38
39
40
41
# Contributor: mio <miyopan@e.email>
# Maintainer: mio <miyopan@e.email>
pkgname=mypaint-brushes2
pkgver=2.0.2
pkgrel=1
pkgdesc="default MyPaint brushes (version 2)"
url="https://github.com/mypaint/mypaint-brushes"
arch="noarch"
license="CC0-1.0"
subpackages="$pkgname-dev"
source="https://github.com/mypaint/mypaint-brushes/releases/download/v$pkgver/mypaint-brushes-$pkgver.tar.xz"
builddir="$srcdir/mypaint-brushes-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
	}

package() {
	make DESTDIR="$pkgdir" install
}

dev() {
	depends="$pkgname=$pkgver-r$pkgrel"

	amove usr/share/pkgconfig
}

sha512sums="
bae870e930381b818165e5e39d38b25782d5744c9a507a71dab37ae7ca2d4502896057f919a16eb9305d803a01db3a948a735d5c5b850893997a9afd6403144b  mypaint-brushes-2.0.2.tar.xz
"