summaryrefslogtreecommitdiff
path: root/community/vapoursynth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vapoursynth/PKGBUILD')
-rw-r--r--community/vapoursynth/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/vapoursynth/PKGBUILD b/community/vapoursynth/PKGBUILD
new file mode 100644
index 000000000..da3bd4b31
--- /dev/null
+++ b/community/vapoursynth/PKGBUILD
@@ -0,0 +1,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: