summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fb23d58e94d0190a5ebc22518da0fff91d00192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Miguel Revilla <yo@miguelrevilla.com>
# Contributor: John Jenkins twodopeshaggy@gmail.com
# Contributor: Robert Knauer <robert@privatdemail.net>
# Contributor: Asa Marco <marcoasa90<at>gmail[.]com>
# Contributor: Felix Rohrbach <fxrh@gmx.de>
# Contributor: Jorge Araya AKA Shackra <jorgean@lavabit.com>

pkgname=vlmc-git
epoch=1
pkgver=0.4358.9ad256c1
pkgrel=1
pkgdesc="VideoLAN Movie Creator, a simple and user-friendly video editor"
arch=('i686' 'x86_64')
url="http://vlmc.org/"
license=('GPL')
depends=('vlc' 'frei0r-plugins' 'libvlcpp-git' 'medialibrary-git')
makedepends=('git' 'gcc-objc' 'qt5-tools')
source=(
  'git+https://code.videolan.org/videolan/vlmc.git'
)

sha256sums=(
  'SKIP'
)
provides=('vlmc')
conflicts=('vlmc')
_gitname="vlmc"

pkgver() {
  cd "${srcdir}/${_gitname}"
  echo "0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}


build() {
  cd "${srcdir}/${_gitname}"
  git submodule init
  git submodule update

  ./bootstrap
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${_gitname}"
  make "DESTDIR=${pkgdir}" install
}