summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96c2e562775127ed392a5499c34773c80d48bf95 (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
# Maintainer: ivanrajkovic
pkgname=lottie-qml-git
pkgver=r15.26335df
pkgrel=1
pkgdesc="This provides a QML Item to render Adobe® After Effects™ animations exported as JSON with Bodymovin using the Lottie Web library."
arch=('i686' 'x86_64')
url="https://github.com/kbroulik/lottie-qml"
license=('GPL' 'MIT')
makedepends=('git' 'make' 'cmake')
source=("$pkgname"::'git+https://github.com/kbroulik/lottie-qml.git')
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  cmake .
  make
}

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

package(){
cd "$srcdir/$pkgname"
make DESTDIR="${pkgdir}" install
}