1 # Contributor: Vincent Berset <msieurhappy@gmail.com>
5 pkgdesc="A GTK movie collection manager"
7 url="http://codingteam.net/project/videomanager"
9 depends=('pygtk' 'python-pysqlite-legacy')
10 source=("http://codingteam.net/project/$pkgname/download/file/$pkgname-$pkgver.tar.gz" \
12 md5sums=('234fa27cb842da9bdd52637b63703cbe' \
13 'b1b5230c26874e59c20e2f5b8aa2bd6c')
16 cd $startdir/src/${pkgname}-${pkgver}
17 mkdir -p -m755 $startdir/pkg/usr/{bin,share/$pkgname}
19 cp -R ./* $startdir/pkg/usr/share/$pkgname/
20 chmod -R 644 $startdir/pkg/usr/share/$pkgname/*
21 chmod +x $startdir/pkg/usr/share/$pkgname/lang/
23 echo "#!/bin/sh" > $startdir/pkg/usr/bin/$pkgname
24 echo "python /usr/share/$pkgname/VideoManager.py" >> $startdir/pkg/usr/bin/$pkgname
25 chmod 755 $startdir/pkg/usr/bin/$pkgname
27 install -D -m644 vm.png $startdir/pkg/usr/share/pixmaps/vm.png
28 install -D -m644 ../videomanager.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop