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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 16:06:48 UTC 2022


    Date: Sunday, March 6, 2022 @ 16:06:47
  Author: felixonmars
Revision: 439112

archrelease: copy trunk to staging-x86_64

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

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

Copied: libmatroska/repos/staging-x86_64/PKGBUILD (from rev 439111, libmatroska/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-03-06 16:06:47 UTC (rev 439112)
@@ -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.3
+pkgrel=2
+pkgdesc='Matroska library'
+arch=(x86_64)
+url=https://github.com/Matroska-Org/libmatroska
+license=(LGPL2.1)
+depends=(libebml.so)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+provides=(libmatroska.so)
+_tag=a72667e36153c418cab3ca1b3dcfd85afb25942f
+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