updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / advene / PKGBUILD
blob003cecf61ad9c04468fce3be53a4c0073a23c71d
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=advene
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Share, edit and visualize hypervideos."
7 arch=(any)
8 url="http://liris.cnrs.fr/advene/index.html"
9 license=('GPL')
10 depends=('pygtk' 'python2-cherrypy' 'python2-simpletal' 'gstreamer0.10-python'
11          'gstreamer0.10-base-plugins' 'desktop-file-utils')
12 optdepends=('gstreamer0.10-good-plugins: good codecs support'
13             'gstreamer0.10-bad-plugins: bad codecs support'
14             'gstreamer0.10-ugly-plugins: ugly codecs support')
15 install="$pkgname.install"
16 source=("http://download.gna.org/advene/sources/$pkgname-$pkgver.tgz"
17         "advene.desktop::http://svn.gna.org/viewcvs/*checkout*/advene/debian/advene.desktop?revision=7138&pathrev=7156")
18 md5sums=('e7c93c4398509c5aec6b47c9b53cb9f6'
19          'e6cfebe91cf3b7778ee68127b952babd')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
24   # place desktop file in the right dir
25   mkdir debian && cp ../$pkgname.desktop debian
27   python2 setup.py build
30 package() {
31   cd "$srcdir/$pkgname-$pkgver"
33   python2 setup.py install --root="$pkgdir/"
35   # python2 fixes
36   sed -i "s|bin/python|&2|" \
37     `grep -rl bin/python "$pkgdir/usr/lib"`
40 # vim:set ts=2 sw=2 et: