summaryrefslogblamecommitdiff
path: root/user/rlottie/APKBUILD
blob: 8602000a2b1eaf8e545621e1bbc1f8658ff2c913 (plain) (tree)
1
2
3
4
5


                                                  

                                                





























                                                                                           
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rlottie
pkgver=0.0.20220107
_commit=875626965959d8e269ca22175c8e1ad190696c43
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="d2cc139b1b624876559c149fd3c78cc4511629e825ffd9e8db2969259c572abe5dbdb8280521879d2e37daab0a1e7a86c144f3a2ad68c30e07e4e3feef5b8d4f  rlottie-0.0.20220107.tar.gz"