aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmypaint/APKBUILD
blob: dcc38d395cfda48010b3c337d93a30666dc670b8 (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
# Contributor: Sascha Paunovic <azarus@posteo.net>
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=libmypaint
pkgver=1.3.0
pkgrel=0
pkgdesc="library for making brushstrokes"
url="http://mypaint.org/"
arch="all"
license="ISC"
makedepends="glib-dev json-c-dev gobject-introspection-dev intltool"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/mypaint/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/"$pkgname-$pkgver

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

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

sha512sums="553eeb3439ffd0c013e33254a16334242583b8bab76d1a3e937f3ed1d7e05a832c6eb26acd7220dce20c6a7d997c32afe828202ce48e25a5fe57b67efd853fcf  libmypaint-1.3.0.tar.xz"