summaryrefslogtreecommitdiff
path: root/user/rlottie/APKBUILD
blob: 4fc7fb579c36d2110feff6129ce4e7b99e74d954 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rlottie
pkgver=0.0.20200110
_commit=f6fc61f214945ac9961ba49fdfc9a3d3336e999b
pkgrel=0
pkgdesc="Library for Lottie animations"
url=" "
arch="all"
license="LGPL-2.1+ AND MIT AND BSD-3-Clause"
depends=""
makedepends="meson ninja"
subpackages="$pkgname-dev"
source="rlottie-$pkgver.tar.gz::https://github.com/Samsung/rlottie/archive/$_commit.tar.gz"
builddir="$srcdir/rlottie-$_commit"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="e78470254ab7b9653dcd95037001a1763f4229bdc611f4631943f302b20739a6e4b519d54c967c1ecd7bcc4b555bb8f651af0bceebc04cc9ea41789360b49af4  rlottie-0.0.20200110.tar.gz"