# Maintainer: Tércio Martins pkgname=olive-git _pkgname=olive pkgver=continuous.r0.g0f3d91b _commit=0f3d91b pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Free non-linear video editor" url="https://www.olivevideoeditor.org/" license=('GPL3') depends=('ffmpeg' 'qt5-multimedia') optdepends=('frei0r-plugins') makedepends=('git') conflicts=('olive') source=("git+https://github.com/olive-editor/olive#commit=$_commit") sha512sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$srcdir/$_pkgname" qmake CONFIG+=release PREFIX=/usr make } package() { cd "$srcdir/$_pkgname" make INSTALL_ROOT="$pkgdir" install }