# $Id: PKGBUILD 140375 2015-09-16 14:12:48Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=vapoursynth-plugin-deblock
pkgver=4
pkgrel=1
pkgdesc='Deblock plugin for VapourSynth'
arch=('i686' 'x86_64')
url='https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock'
license=('GPL2')
depends=('gcc-libs' 'glibc' 'vapoursynth')
source=("vapoursynth-plugin-deblock-${pkgver}.tar.gz::https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock/archive/r${pkgver}.tar.gz")
sha256sums=('06f03f20209183275f700fe1d952c934ddc946ef8897a3219f1e75de2aafedf0')

build() {
  cd VapourSynth-Deblock-r${pkgver}

  ./configure \
    --install="${pkgdir}/usr/lib/vapoursynth" \
    --extra-cxxflags="$CXXFLAGS" \
    --extra-ldflags="$LDFLAGS"
  make
}

package(){
  cd VapourSynth-Deblock-r${pkgver}

  make install
}

# vim: ts=2 sw=2 et:
