1 # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
6 pkgdesc="x264 with MPEG-2 support"
10 makedepends=('git' 'yasm')
11 url="https://github.com/kierank/x262"
16 _gitroot="git://github.com/kierank/x262.git"
21 msg "Connecting to the GIT server...."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
31 msg "GIT checkout done"
32 msg "Starting make..."
34 rm -rf $srcdir/$_gitname-build
35 git clone $srcdir/$_gitname $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build
41 ./configure --prefix=/usr --enable-static
44 make DESTDIR=$pkgdir install
46 rm -rf $srcdir/$_gitname-build