archrelease: copy trunk to extra-x86_64
[arch-packages.git] / vid.stab / trunk / PKGBUILD
blob0ae8ca144bbab18bc2d1fb1461dfc686a1afb111
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
7 pkgrel=3
8 pkgdesc='Video stabilization library'
9 arch=('x86_64')
10 url='http://public.hronopik.de/vid.stab'
11 license=('GPL')
12 depends=('gcc-libs' 'glibc')
13 makedepends=('cmake' 'git')
14 provides=('libvidstab.so')
15 _hash='2d82492533bf5004bc2c4f8213a1b622c45f6a44'
16 source=("vid.stab-${pkgver}::git+https://github.com/georgmartius/vid.stab.git#commit=${_hash}")
17 sha256sums=('SKIP')
19 prepare() {
20   cd vid.stab-${pkgver}
22   if [[ -d build ]]; then
23     rm -rf build
24   fi
25   mkdir build
28 build() {
29   cd vid.stab-${pkgver}/build
31   cmake .. \
32     -DCMAKE_INSTALL_PREFIX='/usr'
33   make
36 package() {
37   cd vid.stab-${pkgver}/build
39   make DESTDIR="${pkgdir}" install
42 # vim: ts=2 sw=2 et: