summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 580a2a7499082e685b663ebd76fe5048b201cb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Alisson Lauffer <alissonvitortc@gmail.com>
# Contributor: BluePeril <blueperil (at) blueperil _dot_ de>

_pkgname=rlottie
pkgname=rlottie-paper-plane-git
pkgver=r676.1dd47ce
pkgrel=1
pkgdesc='A platform independent standalone library that plays Lottie Animation (Version required by Paper Plane)'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://github.com/paper-plane-developers/rlottie'
license=('LGPL-v2.1')
makedepends=('meson' 'git')
depends=('libpng')
provides=(${_pkgname})
conflicts=(${_pkgname})

source=("git+$url#branch=main")
sha256sums=('SKIP')

pkgver() {
    cd "${_pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    arch-meson "${_pkgname}" build \
      -Dwerror=false

    meson compile -C build
}

package() {
    DESTDIR="${pkgdir}" meson install -C build
}

# vim:set ts=8 sts=2 sw=2 et: