mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=mkvtoolnix
|
|
pkgver=5.5.0
|
|
pkgrel=1
|
|
pkgdesc="Set of tools to create, edit and inspect Matroska files."
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
|
|
depends=('bzip2' 'curl' 'file' 'flac' 'libmatroska' 'libvorbis' 'lzo2' 'qt' 'xdg-utils')
|
|
makedepends=('boost' 'ruby')
|
|
categories=('multimedia')
|
|
install=mkvtoolnix.install
|
|
source=("http://www.bunkus.org/videotools/$pkgname/sources/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('2c89693b2a2391ece14a5c93ba8a9974')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./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
|
|
|
|
rm -rf "${pkgdir}"/usr/bin/mmg
|
|
rm -rf "${pkgdir}"/usr/share/man/ja/man1/mmg.1
|
|
rm -rf "${pkgdir}"/usr/share/man/man1/mmg.1
|
|
rm -rf "${pkgdir}"/usr/share/man/nl/man1/mmg.1
|
|
rm -rf "${pkgdir}"/usr/share/man/zh_CN/man1/mmg.1
|
|
rm -rf "${pkgdir}"/usr/share/man/uk/man1/mmg.1
|
|
rm -rf "${pkgdir}"/usr/share/applications
|
|
rm -rf "${pkgdir}"/usr/share/icons
|
|
rm -rf "${pkgdir}"/usr/share/mime
|
|
}
|