updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ude-movie-player / PKGBUILD
blobe8dd142176f2db6cc43f0bfb167820422c2f0ea8
1 # Maintainer: Maskawanian aur by cryingwolf at org
2 pkgname=ude-movie-player
3 _datever=20101019
4 _miniver=1
5 pkgver=$_datever.$_miniver
6 pkgrel=2
8 pkgdesc="A very simple media player"
9 arch=(any)
10 url="http://code.google.com/p/ude-movie-player/"
11 license=('GPL3')
12 source=(http://ude-movie-player.googlecode.com/files/$pkgname.src.$pkgver.tar.xz ump ude-movie-player.desktop)
13 depends=(
14                         python2
15                         pygobject
16                         pygtk
17                         pycairo
18                         gnome-python-desktop
19                         gstreamer0.10
20                         gstreamer0.10-base
21                         gstreamer0.10-base-plugins
22                         gstreamer0.10-good
23                         gstreamer0.10-good-plugins
24                         kaa-svn-r4366
25                         'ude-movie-player-media>=2010904.1'
26                         )
27 optdepends=(
28                         'gstreamer0.10-ugly: file format support'
29                         'gstreamer0.10-ugly-plugins: file format support'
30                         'gstreamer0.10-bad: file format support'
31                         'gstreamer0.10-bad-plugins: file format support'
32                         )
33 install='ude-movie-player.install'
34 md5sums=('7a79c1523e0847769701851da047d775'
35          '5fdb49635537578d0a7a628881c93c9b'
36          '5d9fb9d0b5f6e2ca90baea03e3f178b6')
40 build() {
41         cd $srcdir/$pkgname
42         python2 -m compileall .
43         
44         mkdir -p $pkgdir/usr/share/ude/movie-player
45         #cp $srcdir/$pkgname/*.py $pkgdir/usr/share/ude/movie-player
46         cp $srcdir/$pkgname/*.pyc $pkgdir/usr/share/ude/movie-player
47         
48         mkdir -p $pkgdir/usr/bin
49         cp $srcdir/ump $pkgdir/usr/bin
50         chmod +x $pkgdir/usr/bin/ump
51         
52         mkdir -p $pkgdir/usr/share/applications
53         cp $srcdir/ude-movie-player.desktop $pkgdir/usr/share/applications
54         
55         mkdir -p $pkgdir/usr/share/licenses/ude/media-player
56         cp $srcdir/$pkgname/AUTHORS $pkgdir/usr/share/licenses/ude/media-player
57         cp $srcdir/$pkgname/COPYING $pkgdir/usr/share/licenses/ude/media-player
58         cp $srcdir/$pkgname/INSTALL $pkgdir/usr/share/licenses/ude/media-player
59         cp $srcdir/$pkgname/LICENCE $pkgdir/usr/share/licenses/ude/media-player
60         cp $srcdir/$pkgname/README $pkgdir/usr/share/licenses/ude/media-player