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

Felix Yan felixonmars at archlinux.org
Sat May 16 09:05:38 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:05:38
  Author: felixonmars
Revision: 383760

archrelease: copy trunk to staging-x86_64

Added:
  libebml/repos/staging-x86_64/
  libebml/repos/staging-x86_64/PKGBUILD
    (from rev 383759, libebml/trunk/PKGBUILD)

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

Copied: libebml/repos/staging-x86_64/PKGBUILD (from rev 383759, libebml/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:05:38 UTC (rev 383760)
@@ -0,0 +1,48 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: 03/08/04 <lefungus at altern.org>
+
+pkgname=libebml
+pkgver=1.3.10
+pkgrel=2
+pkgdesc='Extensible Binary Meta Language library'
+arch=(x86_64)
+url=https://github.com/Matroska-Org/libebml
+license=(LGPL2.1)
+depends=(gcc-libs)
+makedepends=(
+  cmake
+  git
+)
+provides=(libebml.so)
+source=(git+https://github.com/Matroska-Org/libebml.git#tag=1e23ac6e09da110b51dba42299b4a5e09098a98a)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libebml
+
+  git describe --tags | sed 's/^release-//'
+}
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd build
+
+  cmake ../libebml \
+    -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