diff options
author | Tércio Martins | 2019-03-15 00:38:22 -0300 |
---|---|---|
committer | Tércio Martins | 2019-03-15 00:38:22 -0300 |
commit | 3c864cba5002065bfcede3079709c2d40b1feb0e (patch) | |
tree | cc51a6a3f81c2a2e47f88b6e8cc53d2564602ac4 | |
parent | f0efe95277ad173ef919415799c293283b308323 (diff) | |
download | aur-3c864cba5002065bfcede3079709c2d40b1feb0e.tar.gz |
Update to commit 76b3cf5
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 31 insertions, 16 deletions
@@ -1,18 +1,33 @@ -pkgbase = olive-git - pkgdesc = Free non-linear video editor - pkgver = continuous.r0.g76b3cf5 - pkgrel = 1 - url = https://www.olivevideoeditor.org/ - arch = i686 - arch = x86_64 - license = GPL3 - makedepends = git - depends = ffmpeg - depends = qt5-multimedia - optdepends = frei0r-plugins - conflicts = olive - source = git+https://github.com/olive-editor/olive#commit=76b3cf5 - sha512sums = SKIP +# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d> -pkgname = olive-git +pkgname=olive-git +_pkgname=olive +pkgver=continuous.r0.g76b3cf5 +_commit=76b3cf5 +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 +} |