[arch-commits] Commit in libmatroska/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sun Jul 5 12:53:22 UTC 2020


    Date: Sunday, July 5, 2020 @ 12:53:22
  Author: alucryd
Revision: 390869

archrelease: copy trunk to staging-x86_64

Added:
  libmatroska/repos/staging-x86_64/
  libmatroska/repos/staging-x86_64/PKGBUILD
    (from rev 390868, libmatroska/trunk/PKGBUILD)

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

Copied: libmatroska/repos/staging-x86_64/PKGBUILD (from rev 390868, libmatroska/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-07-05 12:53:22 UTC (rev 390869)
@@ -0,0 +1,42 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor 03/08/04 <lefungus at altern.org>
+
+pkgname=libmatroska
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Matroska library'
+arch=(x86_64)
+url=https://dl.matroska.org/downloads/libmatroska/
+license=(LGPL2.1)
+depends=(libebml.so)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+provides=(libmatroska.so)
+_tag=5ff8b5793c92be3938aae993a0afe9bb18b5935e
+source=(git+https://github.com/Matroska-Org/libmatroska.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libmatroska
+
+  git describe --tags | sed 's/^release-//'
+}
+
+build() {
+  cmake -S libmatroska -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --build build --target install
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list