diff options
author | Daniel Bermond | 2018-12-04 16:39:16 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-12-04 16:43:52 +0000 |
commit | b48b7ad5899b6b66cbf0a0d506e5a944b6ccfffc (patch) | |
tree | 5411f0603a9bb5937b9c991a83b2b599d36b0f0f /PKGBUILD | |
parent | 3ac21eec9e82b7300571d5d7514887235084b6dc (diff) | |
download | aur-b48b7ad5899b6b66cbf0a0d506e5a944b6ccfffc.tar.gz |
Use https url. Fix license. Dependencies update. Cosmetic changes.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -1,24 +1,24 @@ -# Maintainer : Daniel Bermond < yahoo-com: danielbermond > +# Maintainer : Daniel Bermond < gmail-com: danielbermond > # Contributor: Cedric Girard <girard.cedric@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Asa Marco <marcoasa90[at]gmail[.]com> pkgname=openshot-bzr -pkgver=2.3.4.r825 -pkgrel=1 +pkgver=2.4.1.r911 +pkgrel=2 epoch=1 pkgdesc='An open-source, non-linear video editor for Linux based on MLT framework (bzr version)' arch=('any') -url='http://www.openshot.org/' -license=('GPL') +url='https://www.openshot.org/' +license=('GPL3') depends=('mlt-python-bindings' 'sdl' 'librsvg' 'mplayer' 'pyxdg' 'python-pyqt5' 'python-httplib2' 'python-pillow' 'dvgrab' 'ladspa' 'sox' 'vid.stab' 'qt5-svg' 'sdl_image' - 'libopenshot' 'python-pyzmq' 'qt5-webkit' 'python-setuptools' + 'libopenshot-git' 'python-pyzmq' 'qt5-webkit' 'python-setuptools' 'python-requests') makedepends=('bzr' 'python-setuptools') optdepends=('frei0r-plugins: effects' - 'libquicktime' 'libavc1394' 'faac' 'jack' 'jack-rack') + 'libquicktime' 'libavc1394' 'faac' 'jack') provides=('openshot') conflicts=('openshot') source=("$pkgname"::'bzr+lp:openshot/2.0') @@ -26,12 +26,18 @@ sha256sums=('SKIP') pkgver() { cd "$pkgname" - local _version="$(grep '^VERSION = .*' src/classes/info.py | sed 's/^VERSION = //;s/-.*$//;s/["]//g')" - local _revision="$(bzr revno)" + + local _version + local _revision + + _version="$(grep '^VERSION = .*' src/classes/info.py | sed 's/^VERSION = //;s/-.*$//;s/["]//g')" + _revision="$(bzr revno)" + printf '%s.r%s' "$_version" "$_revision" } package() { - cd "$pkgname" - python setup.py install --root="$pkgdir" --optimize='1' + cd "$pkgname" + + python setup.py install --root="$pkgdir" --optimize='1' } |