diff options
Diffstat (limited to 'user/rlottie/APKBUILD')
-rw-r--r-- | user/rlottie/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 <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" |