# Maintainer: Yamashita Ren # Contributor: Gustavo Alvarez _plug=havsfunc pkgname=vapoursynth-plugin-${_plug}-light-git pkgver=r22.8.g5d7c34d pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug}. (Optional Depends, GIT Version)" arch=('any') url='http://forum.doom9.org/showthread.php?t=166582' license=('GPL') optdepends=('vapoursynth-plugin-addgrain-git' 'vapoursynth-plugin-awarpsharp2-git' 'vapoursynth-plugin-bilateral-git' 'vapoursynth-plugin-ctmf-git' 'vapoursynth-plugin-dctfilter-git' 'vapoursynth-plugin-deblock-git' 'vapoursynth-plugin-dfttest-git' 'vapoursynth-plugin-eedi2-git' 'vapoursynth-plugin-fft3dfilter-git' 'vapoursynth-plugin-f3kdb-git' 'vapoursynth-plugin-fluxsmooth' 'vapoursynth-plugin-fmtconv' 'vapoursynth-plugin-genericfilters-git' 'vapoursynth-plugin-knlmeanscl' 'vapoursynth-plugin-mvtools' 'vapoursynth-plugin-nnedi3-git' 'vapoursynth-plugin-sangnommod-git' 'vapoursynth-plugin-scenechange' 'vapoursynth-plugin-temporalsoften-git' ) makedepends=('git') provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}" "vapoursynth-plugin-${_plug}-git") source=("git+https://github.com/HomeOfVapourSynthEvolution/havsfunc.git") sha1sums=('SKIP') _sites_packages="$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")" pkgver() { cd "${_plug}" echo "$(git describe --long --tags | tr - .)" } package() { install -Dm644 "${_plug}/${_plug}.py" "${pkgdir}${_sites_packages}/${_plug}.py" }