sbcl 2.3.0 rebuild
[arch-packages.git] / libmatroska / trunk / PKGBUILD
blobf6d046694f1b0d342200b3f0bc6b58a01d385c3c
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 # Contributor 03/08/04 <lefungus@altern.org>
5 pkgname=libmatroska
6 pkgver=1.7.1
7 pkgrel=1
8 pkgdesc='Matroska library'
9 arch=(x86_64)
10 url=https://github.com/Matroska-Org/libmatroska
11 license=(LGPL2.1)
12 depends=(libebml.so)
13 makedepends=(
14   cmake
15   git
16   ninja
18 provides=(libmatroska.so)
19 _tag=f5315fddda2d434e47035c038549a808d8b8eac7
20 source=(git+https://github.com/Matroska-Org/libmatroska.git#tag=${_tag})
21 sha256sums=(SKIP)
23 pkgver() {
24   cd libmatroska
26   git describe --tags | sed 's/^release-//'
29 build() {
30   cmake -S libmatroska -B build -G Ninja \
31     -DCMAKE_BUILD_TYPE=None \
32     -DCMAKE_INSTALL_PREFIX=/usr \
33     -DCMAKE_INSTALL_LIBDIR=/usr/lib \
34     -DBUILD_SHARED_LIBS=ON
35   cmake --build build
38 package() {
39   DESTDIR="${pkgdir}" cmake --build build --target install
42 # vim: ts=2 sw=2 et: