# Maintainer: Jesus E. pkgname=vid.stab pkgver=1.1.0 pkgrel=1 pkgdesc='Video stabilization library' arch=('i686' 'x86_64') url='http://public.hronopik.de/vid.stab' license=('GPL-2') depends=('gcc-libs' 'glibc') makedepends=('cmake') source=("https://github.com/georgmartius/vid.stab/archive/refs/tags/v$pkgver.tar.gz") sha512sums=('e82a4b6dd854b8415952cc0a8bdea06c01ff40a497c8e98177831e29031ec535b9f47cc30d5444c47bfd91871615a1662e3991185e9eb179acf37ea601073cdf') 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 install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } # vim: ts=2 sw=2 et: