From e55f71267fbd5122d69b9c39010fc3eb17d581a4 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 22 Jan 2020 03:21:11 +0000 Subject: user/rlottie: New package --- user/rlottie/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 user/rlottie/APKBUILD (limited to 'user/rlottie') diff --git a/user/rlottie/APKBUILD b/user/rlottie/APKBUILD new file mode 100644 index 000000000..4fc7fb579 --- /dev/null +++ b/user/rlottie/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2