summaryrefslogtreecommitdiffstats
path: root/abs/extra/vid.stab/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/vid.stab/PKGBUILD')
-rw-r--r--abs/extra/vid.stab/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/extra/vid.stab/PKGBUILD b/abs/extra/vid.stab/PKGBUILD
new file mode 100644
index 0000000..9833259
--- /dev/null
+++ b/abs/extra/vid.stab/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
+# Contributor: EVorster <evorster@gmail.com>
+
+pkgname=vid.stab
+pkgver=1.1
+pkgrel=1
+pkgdesc='Video stabilization library'
+arch=('i686' 'x86_64')
+url='http://public.hronopik.de/vid.stab'
+license=('GPL')
+depends=('gcc-libs' 'glibc')
+makedepends=('cmake' 'git')
+provides=('libvidstab.so')
+_hash='2d82492533bf5004bc2c4f8213a1b622c45f6a44'
+source=("vid.stab-${pkgver}::git+https://github.com/georgmartius/vid.stab.git#commit=${_hash}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd vid.stab-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd vid.stab-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+ make
+}
+
+package() {
+ cd vid.stab-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: