From 70c514b78180fa23bde4660d293f77685f2a78c7 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Fri, 20 Sep 2013 00:22:22 +0200 Subject: [PATCH] new openshot-bzr PKGBUILD --- pkgbuild/openshot-bzr/PKGBUILD | 30 ++++++++++++++++++++++++++ pkgbuild/openshot-bzr/openshot.install | 11 ++++++++++ 2 files changed, 41 insertions(+) create mode 100644 pkgbuild/openshot-bzr/PKGBUILD create mode 100644 pkgbuild/openshot-bzr/openshot.install diff --git a/pkgbuild/openshot-bzr/PKGBUILD b/pkgbuild/openshot-bzr/PKGBUILD new file mode 100644 index 0000000..02ec4fb --- /dev/null +++ b/pkgbuild/openshot-bzr/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Cedric Girard +# Contributor: Sergej Pupykin +# Contributor: Asa Marco + +pkgname=openshot-bzr +pkgver=741 +pkgrel=1 +pkgdesc="an open-source, non-linear video editor for Linux based on MLT framework" +arch=('any') +url="http://www.openshotvideo.com/" +license=('GPL') +conflicts=(openshot) +depends=('mlt-python-bindings' 'pygoocanvas' 'sdl' 'librsvg' 'mplayer' + 'pyxdg' 'pygtk' 'python2-httplib2' 'python-imaging') +makedepends=('bzr') +optdepends=('dvgrab: for IEEE digital sources' + 'libquicktime' 'libavc1394' 'faac' 'jack' 'jack-rack' 'ladspa') +install=openshot.install +source=(bzr+lp:openshot) +md5sums=('SKIP') + +pkgver() { + cd openshot + bzr revno +} + +package() { + cd $srcdir/openshot + python2 setup.py install --root=$pkgdir/ --optimize=1 +} diff --git a/pkgbuild/openshot-bzr/openshot.install b/pkgbuild/openshot-bzr/openshot.install new file mode 100644 index 0000000..660593c --- /dev/null +++ b/pkgbuild/openshot-bzr/openshot.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}