desktop/handbrake-cli/PKGBUILD
2011-02-21 22:53:43 +00:00

35 lines
902 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgbase=handbrake
pkgname=('handbrake-cli')
pkgver=0.9.5
pkgrel=1
arch=('i686' 'x86_64')
url="http://handbrake.fr/"
license=('GPL')
makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs')
source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2)
md5sums=('e17d3663fc36a985fe43e188695e3196')
build() {
cd "$srcdir/HandBrake-$pkgver"
./configure --prefix=/usr --force --disable-gtk --disable-gtk-update-checks
cd build
make
}
package_handbrake-cli() {
pkgdesc="Multithreaded video transcoder (CLI)"
depends=('bzip2' 'gcc-libs' 'zlib')
cd "$srcdir/HandBrake-$pkgver/build"
install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI"
}