# 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"