[arch-commits] Commit in vid.stab/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Nov 2 09:36:10 UTC 2015
Date: Monday, November 2, 2015 @ 10:36:10
Author: alucryd
Revision: 249982
upgpkg: vid.stab 1.1-1
Modified:
vid.stab/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++----------------
1 file changed, 31 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-02 09:23:13 UTC (rev 249981)
+++ PKGBUILD 2015-11-02 09:36:10 UTC (rev 249982)
@@ -1,28 +1,43 @@
# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: EVorster <evorster at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: EVorster <evorster at gmail.com>
pkgname=vid.stab
-pkgver=0.98b
-pkgrel=2
-pkgdesc="Video stabilize library for fmpeg, mlt or transcode"
+pkgver=1.1
+pkgrel=1
+pkgdesc='Video stabilization library'
arch=('i686' 'x86_64')
-url="http://public.hronopik.de/vid.stab"
+url='http://public.hronopik.de/vid.stab'
license=('GPL')
-depends=()
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/georgmartius/vid.stab/archive/release-$pkgver.tar.gz")
-md5sums=('299b2f4ccd1b94c274f6d94ed4f1c5b8')
+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 "$srcdir/$pkgname-release-$pkgver"
- rm -rf build
- mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ cd vid.stab-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX='/usr'
make
}
package() {
- cd "$srcdir/$pkgname-release-$pkgver/build"
- make DESTDIR="$pkgdir" install
+ cd vid.stab-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list