Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 1st, 2011  |  syntax: None  |  size: 0.61 KB  |  hits: 86  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }