# $Id: PKGBUILD 110469 2014-04-30 14:22:15Z alucryd $ # Maintainer: Maxime Gauduin # Contributor: sl1pkn07 # Contributor: jackoneill pkgname=vapoursynth pkgver=R23 pkgrel=3 pkgdesc='A video processing framework with the future in mind' arch=('i686' 'x86_64') url='http://www.vapoursynth.com/' license=('LGPL2.1' 'custom:OFL') depends=('ffmpeg' 'python' 'tesseract') makedepends=('cython' 'python-sphinx' 'waf' 'yasm') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('d88efdcbbb8f898e85c005b0f8c8f0b74a94aa1fde542ba5c4d630bba6cdaa1f') build() { cd ${pkgname}-${pkgver} waf configure --prefix='/usr' --docs='true' --examples='true' waf $MAKEFLAGS build python setup.py build } package() { cd ${pkgname}-${pkgver} waf install --destdir="${pkgdir}" python setup.py install --root="${pkgdir}" --optimize='1' install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} install -m 644 ofl.txt "${pkgdir}"/usr/share/licenses/${pkgname}/ } # vim: ts=2 sw=2 et: