updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ceemedia / PKGBUILD
blobbf07e5f3e2b69c316d82d9bb6c9e45077f8aaac1
1 # Contributor: 3ED <kas1987@o2.pl>
3 arch=('i686' 'x86_64') # I do not have 64. Please, send me info if it does not work.
4 license=('GPL')
5 pkgname=ceemedia
6 pkgver=0.5.4
7 _subver=1
8 pkgrel=2
9 pkgdesc="CeeMedia is a program for cataloging your movie collection."
10 depends=('python>=2.3' 'pygtk>=2.6' 'libglade>=2.5')
11 url="http://ceemedia.sosdg.org/index.html"
12 source=(http://ceemedia.sosdg.org/releases/${pkgname}-${pkgver}-${_subver}.tar.bz2)
13 md5sums=('f241e3b7bbdc34fbf7e3a54d8cfd4555')
15 build() {
16 cd $startdir/src/${pkgname}-${pkgver}/src
18 #### bin ####
19 mkdir -pv $startdir/pkg/usr/bin
20 cp -v $startdir/src/${pkgname}-${pkgver}/src/ceemedia $startdir/pkg/usr/bin/
22 #### desktop ####
23 mkdir -pv $startdir/pkg/usr/share/applications
24 cp -v $startdir/src/${pkgname}-${pkgver}/src/ceemedia.desktop $startdir/pkg/usr/share/applications/
26 #### glade ####
27 mkdir -pv $startdir/pkg/usr/share/ceemedia
28 cp -v $startdir/src/${pkgname}-${pkgver}/src/ceemedia.glade $startdir/pkg/usr/share/ceemedia/
30 #### lib ####
31 for i in *.py; do
32 cp -v $startdir/src/${pkgname}-${pkgver}/src/$i $startdir/pkg/usr/share/ceemedia/
33 done
35 #### locale ####
36 for i in da es fr pl ru; do
37 mkdir -pv $startdir/pkg/usr/share/locale/$i/LC_MESSAGES
38 cp -v $startdir/src/${pkgname}-${pkgver}/src/i18n/$i/LC_MESSAGES/ceemedia.mo $startdir/pkg/usr/share/locale/$i/LC_MESSAGES/ceemedia.mo
39 done
41 #### plugins ####
42 mkdir -pv $startdir/pkg/usr/share/ceemedia/plugins
43 cp -v $startdir/src/${pkgname}-${pkgver}/src/plugins/* $startdir/pkg/usr/share/ceemedia/plugins/
45 #### images ####
46 mkdir -pv $startdir/pkg/usr/share/ceemedia/images
47 cp -v $startdir/src/${pkgname}-${pkgver}/src/images/* $startdir/pkg/usr/share/ceemedia/images/
48 mkdir -pv $startdir/pkg/usr/share/icons
49 ln -s /usr/share/ceemedia/images/ceemedia.png $startdir/pkg/usr/share/icons/ceemedia.png