updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / vlmc-git / PKGBUILD
blobdf0716973a0108819bc84a80b660bba895523bb2
1 # Contributor: Asa Marco <marcoasa90<at>gmail[.]com>
2 # Contributor: Felix Rohrbach <fxrh@gmx.de>
3 pkgname=vlmc-git
4 pkgver=20101112
5 pkgrel=1
6 pkgdesc="VideoLAN Movie Creator is a simple and user-friendly video editor. Development GIT Version."
7 arch=('i686' 'x86_64')
8 url="http://vlmc.org/"
9 license=('GPL')
10 depends=('vlc' 'qt' 'frei0r-plugins')
11 makedepends=('git' 'cmake')
12 source=()
14 md5sums=()
17 _gitroot=git://git.videolan.org/vlmc.git
18 _gitname=vlmc
20 build() {
21     cd $srcdir
23     if [ -d $_gitname ]; then
24         cd $_gitname && git pull origin
25         cd ..
26     else
27         git clone $_gitroot
28     fi
30     rm -rf $_gitname-build
31     git clone $_gitname $_gitname-build
33     msg "GIT checkout done or server timeout"
35     cd $_gitname-build
37     msg "Starting make..."
40     mkdir build
41     cd build
42     cmake -DCMAKE_INSTALL_PREFIX=/usr ../
43     make
46 package() {
47     cd $srcdir/$_gitname-build/build
48     make DESTDIR=$pkgdir install
49     #install -Dm 644 $srcdir/vlmc.desktop $pkgdir/usr/share/applications/vlmc.desktop