1 # Maintainer: Archie <xMickael@ifrance.com>
6 pkgdesc="Mapivi is a photo management tool with focus on JPEG pictures. Mapivi supports adding, editing and searching of IPTC/IIM, EXIF data and JPEG comments. The pictures are managed in place (in your folder structure)."
7 depends=('jpegpixi' 'jhead' 'imagemagick' 'libjpeg' 'perl-image-info' 'perl-image-metadata-jpeg' 'tk-matchentry' 'tk-resizebutton' 'tk-splash' 'perl-tk' 'perl-exiftool')
10 source=(http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver.tar.gz)
11 url="http://mapivi.sourceforge.net/mapivi.shtml"
12 md5sums=('f1432cbb0033c1a1a324651dbc0700b2')
15 cd $startdir/src/$pkgname$pkgver
16 mkdir -p $startdir/pkg/usr/{share,bin}
17 mkdir -p $startdir/pkg/usr/share/{$pkgname,applications,pixmaps}
18 mkdir -p $startdir/pkg/usr/share/$pkgname/{html,icons,pics,PlugIns}
21 cp pics/* $startdir/pkg/usr/share/$pkgname/pics/
22 cp html/* $startdir/pkg/usr/share/$pkgname/html/
23 cp icons/* $startdir/pkg/usr/share/$pkgname/icons/
24 cp PlugIns/* $startdir/pkg/usr/share/$pkgname/PlugIns/
25 cp {COPYING,FAQ,INSTALL,mapivi,README,Changes.txt,License.txt,Tips.txt} $startdir/pkg/usr/share/$pkgname/
27 cp $startdir/mapivi $startdir/pkg/usr/bin/
28 cp $startdir/mapivi.desktop $startdir/pkg/usr/share/applications/
29 cp $startdir/mapivi.png $startdir/pkg/usr/share/pixmaps/
31 chmod 644 $startdir/pkg/usr/share/mapivi/icons/*