[arch-commits] Commit in libebml/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Jul 5 12:48:33 UTC 2020
Date: Sunday, July 5, 2020 @ 12:48:32
Author: alucryd
Revision: 390867
archrelease: copy trunk to staging-x86_64
Added:
libebml/repos/staging-x86_64/
libebml/repos/staging-x86_64/PKGBUILD
(from rev 390866, libebml/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: libebml/repos/staging-x86_64/PKGBUILD (from rev 390866, libebml/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-07-05 12:48:32 UTC (rev 390867)
@@ -0,0 +1,49 @@
+# 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.4.0
+pkgrel=1
+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)
+_tag=6145c5700d894312c4dd47ba6c1ace72075b0692
+source=(git+https://github.com/Matroska-Org/libebml.git#tag=${_tag})
+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