diff options
author | Tércio Martins | 2019-03-04 02:49:02 -0300 |
---|---|---|
committer | Tércio Martins | 2019-03-04 02:49:02 -0300 |
commit | bfb2120a3da4b3e7550af616db830ac89f7b5720 (patch) | |
tree | f353e4ba27331a47f31dfee3b6efb222efdff65b | |
download | aur-bfb2120a3da4b3e7550af616db830ac89f7b5720.tar.gz |
Adding PKGBUILD to AUR
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..09c415d2b4ae --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = olive-git + pkgdesc = Free non-linear video editor + pkgver = continuous.r0.g4e04d7b + 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=4e04d7b + sha512sums = SKIP + +pkgname = olive-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c28628e910bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d> + +pkgname=olive-git +_pkgname=olive +pkgver=continuous.r0.g4e04d7b +_commit=4e04d7b +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 +} |