[arch-commits] Commit in vapoursynth-plugin-lsmashsource/repos (2 files)

Maxime Gauduin alucryd at archlinux.org
Mon Apr 23 18:18:36 UTC 2018


    Date: Monday, April 23, 2018 @ 18:18:35
  Author: alucryd
Revision: 317421

archrelease: copy trunk to community-staging-x86_64

Added:
  vapoursynth-plugin-lsmashsource/repos/community-staging-x86_64/
  vapoursynth-plugin-lsmashsource/repos/community-staging-x86_64/PKGBUILD
    (from rev 317420, vapoursynth-plugin-lsmashsource/trunk/PKGBUILD)

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

Copied: vapoursynth-plugin-lsmashsource/repos/community-staging-x86_64/PKGBUILD (from rev 317420, vapoursynth-plugin-lsmashsource/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-04-23 18:18:35 UTC (rev 317421)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+pkgname=vapoursynth-plugin-lsmashsource
+pkgver=931
+pkgrel=1
+pkgdesc='L-SMASH source plugin for Vapoursynth'
+arch=('x86_64')
+url='https://github.com/VFR-maniac/L-SMASH-Works'
+license=('custom')
+depends=('glibc' 'vapoursynth'
+         'libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
+         'libswscale.so')
+makedepends=('git')
+_commit='4c10d790e664c526d57c4070061ade67b2dfdee0'
+source=("vapoursynth-plugin-lsmashsource::git+https://github.com/VFR-maniac/L-SMASH-Works.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd vapoursynth-plugin-lsmashsource/VapourSynth
+
+  git rev-list --count HEAD
+}
+
+build() {
+  cd vapoursynth-plugin-lsmashsource/VapourSynth
+
+  ./configure \
+    --prefix='/usr'
+  make
+}
+
+package(){
+  cd vapoursynth-plugin-lsmashsource/VapourSynth
+
+  make DESTDIR="${pkgdir}" install
+
+  # Mark library as executable so sodeps get detected and versioned
+  chmod +x "${pkgdir}"/usr/lib/libvslsmashsource.so.*
+
+  install -dm 755 "${pkgdir}"/usr/share/doc/vapoursynth/plugins/lsmashsource
+  install -m 644 README "${pkgdir}"/usr/share/doc/vapoursynth/plugins/lsmashsource/
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/vapoursynth-plugin-lsmashsource
+  install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/vapoursynth-plugin-lsmashsource/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list