# $Id: PKGBUILD 308812 2018-03-16 09:40:57Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=vapoursynth-plugin-deblock
pkgver=6
pkgrel=1
pkgdesc='Deblock plugin for VapourSynth'
arch=('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=('131be862aac027a2d292974222f1bc4d156cce1514ded8a0c4150d0d4c2c94c4')

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

  ./autogen.sh
  ./configure \
    --prefix='/usr' \
    --libdir='/usr/lib/vapoursynth'
  make
}

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

  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et:
