updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mkvalidator / PKGBUILD
blobc382924c3467a6869d86f0cd69106daf8174c74e
1 # Maintainer: garion < garion @ mailoo.org >
3 pkgname=mkvalidator
4 pkgver=0.3.7
5 pkgrel=1
6 pkgdesc="Validator for MKV files"
7 arch=('i686' 'x86_64')
8 url="http://www.matroska.org/downloads/$pkgname.html"
9 license=('BSD')
10 depends=('libebml' 'libmatroska')
11 source=(https://downloads.sourceforge.net/project/matroska/$pkgname/$pkgname-$pkgver.tar.bz2)
12 md5sums=('3941de036a2ae441f0f85ecbb107c9cf')
14   if [ $CARCH = "i686" ]; then
15       _gcc_linux="gcc_linux"
16   elif [ $CARCH = "x86_64" ]; then
17       _gcc_linux="gcc_linux_x64"
18   else
19       return 1
20   fi
22 build() {
23   cd $srcdir/$pkgname-$pkgver
24   ./configure || return 1
25   make -C $pkgname || return 1
28 package(){
29   cd $srcdir/$pkgname-$pkgver
30   install -d $pkgdir/usr/bin/
31   install -m 755 release/$_gcc_linux/$pkgname $pkgdir/usr/bin/