[arch-commits] Commit in mkvtoolnix/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Aug 30 09:40:24 UTC 2018


    Date: Thursday, August 30, 2018 @ 09:40:24
  Author: alucryd
Revision: 333111

upgpkg: mkvtoolnix 26.0.0-1

Modified:
  mkvtoolnix/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-30 08:42:24 UTC (rev 333110)
+++ PKGBUILD	2018-08-30 09:40:24 UTC (rev 333111)
@@ -5,7 +5,7 @@
 
 pkgbase=mkvtoolnix
 pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gui')
-pkgver=25.0.0
+pkgver=26.0.0
 pkgrel=1
 pkgdesc='Set of tools to create, edit and inspect Matroska files'
 arch=('x86_64')
@@ -12,14 +12,20 @@
 url='https://www.bunkus.org/videotools/mkvtoolnix/'
 license=('GPL')
 makedepends=(
-  'boost' 'boost-libs' 'cmark' 'docbook-xsl' 'file' 'flac' 'libebml'
+  'boost' 'boost-libs' 'cmark' 'docbook-xsl' 'file' 'flac' 'git' 'libebml'
   'libmatroska' 'libogg' 'libvorbis' 'qt5-multimedia' 'ruby-rake' 'zlib'
 )
-source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${pkgver}.tar.xz")
-sha256sums=('834cb7abdd8849da3a6864055c8207cea44d14768147830918cd1a723c40bc33')
+source=("git+https://gitlab.com/mbunkus/mkvtoolnix.git#tag=release-${pkgver}")
+sha256sums=('SKIP')
 
+prepare() {
+  cd mkvtoolnix
+
+  ./autogen.sh
+}
+
 build() {
-  cd mkvtoolnix-${pkgver}
+  cd mkvtoolnix
 
   ./configure \
     --prefix='/usr' \
@@ -39,7 +45,7 @@
     'libebml.so' 'libmatroska.so' 'libvorbis.so'
   )
 
-  cd mkvtoolnix-${pkgver}
+  cd mkvtoolnix
 
   rake DESTDIR="${pkgdir}" install
   install -m 755 src/mkvinfo-cli "${pkgdir}"/usr/bin/mkvinfo
@@ -52,7 +58,7 @@
     'cmark' 'hicolor-icon-theme' 'mkvtoolnix-cli' 'qt5-base' 'qt5-multimedia'
   )
 
-  cd mkvtoolnix-${pkgver}
+  cd mkvtoolnix
 
   rake DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/usr/share/locale



More information about the arch-commits mailing list