[arch-commits] Commit in ffms2/repos (2 files)

Maxime Gauduin alucryd at archlinux.org
Mon Aug 27 09:26:25 UTC 2018


    Date: Monday, August 27, 2018 @ 09:26:25
  Author: alucryd
Revision: 374738

archrelease: copy trunk to community-staging-x86_64

Added:
  ffms2/repos/community-staging-x86_64/
  ffms2/repos/community-staging-x86_64/PKGBUILD
    (from rev 374737, ffms2/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: ffms2/repos/community-staging-x86_64/PKGBUILD (from rev 374737, ffms2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-27 09:26:25 UTC (rev 374738)
@@ -0,0 +1,38 @@
+# $Id$$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=ffms2
+pkgver=2.23.1
+pkgrel=3
+pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access'
+arch=('x86_64')
+url='https://github.com/FFMS/ffms2'
+license=('GPL')
+depends=('ffmpeg')
+makedepends=('git')
+provides=('vapoursynth-plugin-ffms2'
+          'libffms2.so')
+source=("ffms2-${pkgver}.tar.gz::https://github.com/FFMS/ffms2/archive/${pkgver%.*}.tar.gz")
+sha256sums=('b09b2aa2b1c6f87f94a0a0dd8284b3c791cbe77f0f3df57af99ddebcd15273ed')
+
+build() {
+  cd ffms2-${pkgver%.*}
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-avresample \
+    --enable-shared \
+    --disable-static
+  make
+}
+
+package() {
+  cd ffms2-${pkgver%.*}
+
+  make DESTDIR="${pkgdir}" install
+
+  install -dm 755 "${pkgdir}"/usr/lib/vapoursynth
+  ln -s ../libffms2.so "${pkgdir}"/usr/lib/vapoursynth/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list