summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic2022-03-05 17:46:40 +0100
committerDominic2022-03-05 17:46:40 +0100
commitbc249cf3ecd72de97416b7ddc6496de19bf6d202 (patch)
tree7c3d956411dddccaca2b3f7c01ec5a07c5961313
parentecab826e390a5e01666c5d987a4a9532654d1bae (diff)
downloadaur-bc249cf3ecd72de97416b7ddc6496de19bf6d202.tar.gz
don't include example program in package
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16879d0f0e35..c74f0c897ac0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rlottie
pkgdesc = A platform independent standalone library that plays Lottie Animation
pkgver = 0.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Samsung/rlottie
arch = x86_64
license = Custom
@@ -9,7 +9,8 @@ pkgbase = rlottie
makedepends = git
makedepends = ninja
makedepends = patchelf
- depends = libpng
+ depends = gcc-libs
+ optdepends = lottie2gif: A command-line utility to convert lottie to gif animations
source = https://github.com/Samsung/rlottie/archive/refs/tags/v0.2.tar.gz
source = 0001-add-missing-include.patch
sha256sums = 030ccbc270f144b4f3519fb3b86e20dd79fb48d5d55e57f950f12bab9b65216a
diff --git a/PKGBUILD b/PKGBUILD
index 87f0874cf065..30bc35cc0bcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,16 @@
pkgname=rlottie
pkgver=0.2
-pkgrel=1
+pkgrel=2
pkgdesc='A platform independent standalone library that plays Lottie Animation'
arch=('x86_64')
url='https://github.com/Samsung/rlottie'
license=('Custom')
makedepends=('cmake' 'git' 'ninja' 'patchelf')
-depends=('libpng')
-source=(
- "https://github.com/Samsung/rlottie/archive/refs/tags/v$pkgver.tar.gz"
- "0001-add-missing-include.patch"
-)
+depends=('gcc-libs')
+optdepends=('lottie2gif: A command-line utility to convert lottie to gif animations')
+source=("https://github.com/Samsung/rlottie/archive/refs/tags/v$pkgver.tar.gz"
+ '0001-add-missing-include.patch')
sha256sums=('030ccbc270f144b4f3519fb3b86e20dd79fb48d5d55e57f950f12bab9b65216a'
'6dd2d214beecf74347102b0f4481cfc3a4faa5d8a8ac19d4d03a1ddfd0744d00')
@@ -42,7 +41,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver/build"
DESTDIR="$pkgdir" ninja install
- install -Dm755 example/lottie2gif "$pkgdir/usr/bin/lottie2gif"
install -Dm644 "../COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
for _file in ../licenses/*; do