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 +}