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

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 08:15:30 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:15:30
  Author: foutrelis
Revision: 386216

archrelease: copy trunk to staging-x86_64

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

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

Copied: libmatroska/repos/staging-x86_64/PKGBUILD (from rev 386215, libmatroska/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:15:30 UTC (rev 386216)
@@ -0,0 +1,43 @@
+# 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.5.2
+pkgrel=2
+pkgdesc='Matroska library'
+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
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd build
+
+  cmake ../libmatroska \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=ON
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C build install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list