desktop/mkvtoolnix/PKGBUILD
2015-03-30 00:20:30 +00:00

37 lines
1.1 KiB
Bash

pkgname=mkvtoolnix
pkgver=7.8.0
pkgrel=1
pkgdesc="Set of tools to create, edit and inspect Matroska files."
arch=('x86_64')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
depends=('flac' 'libmatroska' 'libogg' 'libvorbis' 'qt5-base' 'xdg-utils' 'libebml' 'zlib' 'boost-libs' 'expat')
optdepends=('flac: for FLAC support (Free Lossless Audio Codec)'
'lzo2: for additional compression capabilities'
'bzip2: for additional compression capabilities'
'file: for automatic content type detection'
'curl: for online update checks')
makedepends=('boost' 'ruby')
categories=('multimedia')
install=${pkgname}.install
source=("http://www.bunkus.org/videotools/$pkgname/sources/$pkgname-$pkgver.tar.xz")
sha1sums=('e855680e5b673e1d39e2f4146ce809504c435f7b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
./configure \
--enable-qt \
--prefix=/usr \
--with-boost-libdir=/usr/lib
rake
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
rake DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/bin/mkvinfo
install -Dm755 src/mkvinfo "${pkgdir}"/usr/bin/mkvinfo
}