1. # Contributor: Nebulosa <nebulosa2007 na yandekse>
  2.  
  3. pkgname=2gis-foo
  4. pkgver=1
  5. pkgrel=1
  6. pkgdesc="Map of Foo for 2GIS"
  7. arch=('i686' 'x86_64')
  8. url="http://help.2gis.ru/linux/"
  9. license=('custom')
  10. depends=('2gis')
  11. source=("http://download.2gis.ru/arhives/2GISData_Foo-${pkgver}.orig.zip")
  12. md5sums=('md5')
  13.  
  14. build() {
  15.  
  16. cd $startdir
  17.  
  18. # Installing to /opt/2gis
  19. install -D -m 644 ${startdir}/src/2gis/3.0/Data_Foo.dgdat "${startdir}/pkg/opt/2gis/foo.dgdat" || return 1
  20. install -D -m 644 ${startdir}/src/2gis/3.0/Plugins/DGisLan/Foo.dglf "${startdir}/pkg/opt/2gis/Plugins/DGisLan/Foo.dglf" || return 1
  21.  
  22. }