1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 # Contributor: xduugu <xduugu@gmx.com>
12 pkgdesc='Set of tools to create, edit and inspect Matroska files'
14 url=https://mkvtoolnix.download/
41 _tag=346a4e0517acd7052d9ab67d556d067454c9e16d
42 #source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git?signed#tag=${_tag})
43 source=(git+https://gitlab.com/mbunkus/mkvtoolnix.git#tag=${_tag})
44 validpgpkeys=(D9199745B0545F2E8197062B0F92290A445B9007) # Moritz Bunkus <moritz@bunkus.org>
54 git describe --tags | sed 's/release-//'
61 --disable-update-check
65 package_mkvtoolnix-cli() {
75 rake DESTDIR="${pkgdir}" install
76 rm -rf "${pkgdir}"/usr/share/{applications,icons,metainfo,mime,mkvtoolnix}
77 find "${pkgdir}" -name mkvtoolnix-gui* -delete
80 package_mkvtoolnix-gui() {
90 rake DESTDIR="${pkgdir}" install
91 rm -rf "${pkgdir}"/usr/share/locale
92 for t in mkv{extract,info,merge,propedit}; do
93 find "${pkgdir}" -name $t* -delete