1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 # Contributor: 03/08/04 <lefungus@altern.org>
8 pkgdesc='Extensible Binary Meta Language library'
10 url=https://github.com/Matroska-Org/libebml
19 _tag=6c59e5e1ce0087e4465f6d3f479449d3f6bcb167
21 git+https://github.com/Matroska-Org/libebml.git#tag=${_tag}
25 '62aaeb70d83c91af422b70a3e21ef7e538201c01e1b088a7e05d0bde02078fa6ed723ea3d0dc01da0bfbac4012e2b0c683de7abb26eb5d38553e7905f0ff8bfd')
29 patch -Np1 -i ../libebml-limits.patch
34 git describe --tags | sed 's/^release-//'
38 cmake -S libebml -B build -G Ninja \
39 -DCMAKE_INSTALL_PREFIX=/usr \
40 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
41 -DBUILD_SHARED_LIBS=ON
46 DESTDIR="${pkgdir}" cmake --install build