updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / mapivi / PKGBUILD
blob95a33af0526ee3df722c1e3d7028eeaacc114fc2
1 # Maintainer: Archie <xMickael@ifrance.com>
3 pkgname=mapivi
4 pkgver=097
5 pkgrel=1
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')
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 source=(http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver.tar.gz)
11 url="http://mapivi.sourceforge.net/mapivi.shtml"
12 md5sums=('f1432cbb0033c1a1a324651dbc0700b2')
14 build() {
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/*