archrelease: copy trunk to extra-x86_64
[arch-packages.git] / vid.stab / repos / extra-x86_64 / PKGBUILD
blob736a6083cd65c6faac05ee3b4e433e63c9a5a7fc
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
3 # Contributor: EVorster <evorster@gmail.com>
5 pkgname=vid.stab
6 pkgver=1.1.1
7 pkgrel=1
8 pkgdesc='Video stabilization library'
9 arch=(x86_64)
10 url=http://public.hronopik.de/vid.stab
11 license=(GPL)
12 depends=(
13   gcc-libs
14   glibc
16 makedepends=(
17   cmake
18   git
19   ninja
21 provides=(libvidstab.so)
22 _tag=90c76aca2cb06c3ff6f7476a7cd6851b39436656
23 source=(git+https://github.com/georgmartius/vid.stab.git#tag=${_tag})
24 b2sums=(SKIP)
26 pkgver() {
27   cd vid.stab
28   git describe --tags | sed 's/^v//'
31 build() {
32   cmake -S vid.stab -B build -G Ninja \
33     -DCMAKE_BUILD_TYPE=None \
34     -DCMAKE_INSTALL_PREFIX=/usr
35   cmake --build build
38 package() {
39   DESTDIR="${pkgdir}" cmake --install build
42 # vim: ts=2 sw=2 et: