summaryrefslogtreecommitdiff
path: root/community/vapoursynth/PKGBUILD
blob: da3bd4b314cc76117409b7eb1b1f6f240b509060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 110469 2014-04-30 14:22:15Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: sl1pkn07 <sl1pkn07@gmail.com>
# Contributor: jackoneill <cantabile.desu@gmail.com>

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: