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

Maxime Gauduin alucryd at archlinux.org
Thu Aug 6 08:11:46 UTC 2020


    Date: Thursday, August 6, 2020 @ 08:11:46
  Author: alucryd
Revision: 670645

upgpkg: vapoursynth-plugin-deblock 6.1-1

Modified:
  vapoursynth-plugin-deblock/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-06 08:10:25 UTC (rev 670644)
+++ PKGBUILD	2020-08-06 08:11:46 UTC (rev 670645)
@@ -2,30 +2,38 @@
 # Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
 
 pkgname=vapoursynth-plugin-deblock
-pkgver=6
-pkgrel=2
+pkgver=6.1
+pkgrel=1
 pkgdesc='Deblock plugin for VapourSynth'
-arch=('x86_64')
-url='https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock'
-license=('GPL2')
-depends=('gcc-libs' 'glibc' 'vapoursynth')
-source=("vapoursynth-plugin-deblock-${pkgver}.tar.gz::https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock/archive/r${pkgver}.tar.gz")
-sha256sums=('131be862aac027a2d292974222f1bc4d156cce1514ded8a0c4150d0d4c2c94c4')
+arch=(x86_64)
+url=https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock
+license=(GPL2)
+depends=(
+  gcc-libs
+  glibc
+  vapoursynth
+)
+makedepends=(
+  git
+  meson
+)
+_tag=5ec9c9ba349fd1d34d7ceb5300a3837c99d214e7
+source=(git+https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock.git#tag=${_tag})
+b2sums=(SKIP)
 
-build() {
-  cd VapourSynth-Deblock-r${pkgver}
+pkgver() {
+  cd VapourSynth-Deblock
 
-  ./autogen.sh
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib/vapoursynth'
-  make
+  git describe --tags | sed 's/^r//'
 }
 
+build() {
+  arch-meson VapourSynth-Deblock build
+  ninja -C build
+}
+
 package(){
-  cd VapourSynth-Deblock-r${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list