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

Maxime Gauduin alucryd at archlinux.org
Wed Mar 13 08:14:10 UTC 2019


    Date: Wednesday, March 13, 2019 @ 08:14:10
  Author: alucryd
Revision: 347821

upgpkg: libmatroska 1.5.0-1

Modified:
  libmatroska/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-13 08:09:44 UTC (rev 347820)
+++ PKGBUILD	2019-03-13 08:14:10 UTC (rev 347821)
@@ -3,17 +3,20 @@
 # Contributor 03/08/04 <lefungus at altern.org>
 
 pkgname=libmatroska
-pkgver=1.4.9
+pkgver=1.5.0
 pkgrel=1
 pkgdesc='Matroska library'
-arch=('x86_64')
-url='https://dl.matroska.org/downloads/libmatroska/'
-license=('LGPL')
-depends=('libebml.so')
-makedepends=('cmake')
-provides=('libmatroska.so')
-source=("https://dl.matroska.org/downloads/libmatroska/libmatroska-${pkgver}.tar.xz")
-sha256sums=('38a61dd5d87c070928b5deb3922b63b2b83c09e2e4a10f9393eecb6afa9795c8')
+arch=(x86_64)
+url=https://dl.matroska.org/downloads/libmatroska/
+license=(LGPL2.1)
+depends=(libebml.so)
+makedepends=(
+  cmake
+  git
+)
+provides=(libmatroska.so)
+source=(git+https://github.com/Matroska-Org/libmatroska.git#tag=release-${pkgver})
+sha256sums=(SKIP)
 
 prepare() {
   if [[ -d build ]]; then
@@ -25,11 +28,11 @@
 build() {
   cd build
 
-  cmake ../libmatroska-${pkgver} \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-    -DBUILD_SHARED_LIBS='ON'
+  cmake ../libmatroska \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=ON
   make
 }
 



More information about the arch-commits mailing list