1 # Contributor: stanislaw <i@archuser.pp.ru>
2 # Contributor: wido <widomaker2k7@gmail.com>
3 # Contributor: Nebulosa <nebulosa2007 na yandekse>
4 # Contributor: max1m <mr[dot]mxm86[at]gmail[dot]com>
9 pkgdesc="Geographic Information System (GIS) for some Russian and Ukrainian cities."
10 arch=('i686' 'x86_64')
11 url="http://help.2gis.ru/linux/"
13 if [ "${CARCH}" = 'x86_64' ]; then
14 depends=('wine>=1.1.24' 'lib32-libldap' 'lib32-libxml2' )
15 elif [ "${CARCH}" = 'i686' ]; then
16 depends=('wine>=1.1.24' 'libxml2' )
18 source=("http://download.2gis.ru/arhives/2GISShell-${pkgver}.orig.zip"
24 md5sums=('0c2748d4c1f0dc1bfea3b19046867b4a'
25 '0c6de91e65660f270b72ced235689c50'
26 'd444c77bbc94c687d8edbee794f8f115'
27 '755fa39ea0a2b5767f5bf35c29257791'
28 '415c638aa454ab03b1977c5156888e14'
29 '841a50883a42fe12688e84f66bd26caf')
33 install -d $pkgdir/opt/2gis
34 install -D -m644 -t $pkgdir/opt/2gis $srcdir/2gis/3.0/*.*
35 install -d $pkgdir/opt/2gis/Plugins
36 install -D -m644 -t $pkgdir/opt/2gis/Plugins $srcdir/2gis/3.0/Plugins/*.*
37 install -D -m644 LICENSE.ru $pkgdir/usr/share/licenses/2gis/LICENSE.ru
38 install -D -m644 LICENSE.ua $pkgdir/usr/share/licenses/2gis/LICENSE.ua
39 install -D -m644 2gis.png $pkgdir/usr/share/pixmaps/2gis.png
40 install -D -m644 2gis.desktop $pkgdir/usr/share/applications/2gis.desktop
41 install -D -m777 2gis-launch $pkgdir/usr/bin/2gis