[arch-commits] Commit in vapoursynth-plugin-lsmashsource/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri May 29 16:38:01 UTC 2020


    Date: Friday, May 29, 2020 @ 16:38:01
  Author: alucryd
Revision: 637171

upgpkg: vapoursynth-plugin-lsmashsource 20200207-1

Modified:
  vapoursynth-plugin-lsmashsource/trunk/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++------------------------------
 1 file changed, 26 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 16:34:12 UTC (rev 637170)
+++ PKGBUILD	2020-05-29 16:38:01 UTC (rev 637171)
@@ -2,47 +2,43 @@
 # Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
 
 pkgname=vapoursynth-plugin-lsmashsource
-pkgver=931
+pkgver=20200207
 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')
+arch=(x86_64)
+url=https://github.com/hydra3333/L-SMASH-Works
+license=(custom)
+depends=(
+  glibc
+  vapoursynth
+  libavcodec.so
+  libavformat.so
+  libavutil.so
+  liblsmash.so
+  libswscale.so
+)
+makedepends=(
+  git
+  meson
+)
+source=(vapoursynth-plugin-lsmashsource::git+https://github.com/hydra3333/L-SMASH-Works.git#tag=2b0e0ef14df6241413973bf01b1c921a15f6cb24)
+sha256sums=(SKIP)
 
 pkgver() {
-  cd vapoursynth-plugin-lsmashsource/VapourSynth
+  cd vapoursynth-plugin-lsmashsource
 
-  git rev-list --count HEAD
+  git describe --tags
 }
 
 build() {
-  cd vapoursynth-plugin-lsmashsource/VapourSynth
-
-  ./configure \
-    --prefix='/usr'
-  make
+  arch-meson vapoursynth-plugin-lsmashsource/VapourSynth build
+  ninja -C build
 }
 
 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/
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 vapoursynth-plugin-lsmashsource/VapourSynth/README -t "${pkgdir}"/usr/share/doc/vapoursynth/plugins/lsmashsource/
+  install -Dm 644 vapoursynth-plugin-lsmashsource/VapourSynth/LICENSE -t "${pkgdir}"/usr/share/licenses/vapoursynth-plugin-lsmashsource/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list