# Contributor: Sören Tempel # Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=mkvtoolnix pkgver=22.0.0 pkgrel=0 pkgdesc="Set of tools to create, edit and inspect Matroska files" url="https://mkvtoolnix.download/index.html" arch="all" license="GPL" makedepends="libmatroska-dev flac-dev libvorbis-dev boost-dev zlib-dev file-dev libogg-dev ruby-rake ruby-json bash docbook-xsl" options="!check" subpackages="$pkgname-doc" source="https://mkvtoolnix.download/sources/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure CC="${CC:-gcc}" CFLAGS="${CFLAGS}" \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-gettext rake V=1 -j${JOBS} } package() { cd "$builddir" rake DESTDIR="$pkgdir" install } sha512sums="59d299f21d484dc529dafe81a35d3351e4f57abf6a2d8889692d95b9b9ffacdca9b55a3cf373b147f3ff12595590bf98f49af5d22d311b9b2d03f12a4bba00a6 mkvtoolnix-22.0.0.tar.xz"