Advertisement
Guest User

mobac 1.9.2 revamped PKGBUILD

a guest
Oct 28th, 2011
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.15 KB | None | 0 0
  1. # Maintainer:Biginoz < biginoz AT free point fr>
  2.  
  3. pkgname=mobac
  4. pkgver=1.9.2
  5. pkgrel=1
  6. pkgdesc="Mobile Atlas Creator (formerly known as TrekBuddy Atlas Creator) is an open source (GPL) program which creates offline atlases for GPS handhelds and cell phone applications like TrekBuddy, AndNav and other Android and WindowsCE based applications."
  7. arch=('i686' 'x86_64')
  8. url="http://mobac.sourceforge.net/"
  9. license=('GPL')
  10. depends=('java-runtime')
  11. source=("http://sourceforge.net/projects/mobac/files/Mobile Atlas Creator/MOBAC 1.9/Mobile Atlas Creator $pkgver.zip" \
  12.         "mobac.sh" \
  13.         "directories.ini")
  14. md5sums=('15ae85503382addf760cbd1fb9774042'
  15.          '1bc898bc6a623b5550249f96da0f0a29'
  16.          '1552ae46115fd8315658ed660b16cf03')
  17.  
  18. build ()
  19. {
  20.   cd "$srcdir"
  21.   rm -f "Mobile Atlas Creator.exe"
  22. }
  23. package() {
  24.   cd "$srcdir"
  25.   install -Dm 755 $srcdir/mobac.sh $pkgdir/usr/bin/mobac
  26.   install -d $pkgdir/usr/share/mobac
  27.   cp -r * $pkgdir/usr/share/mobac/
  28.   install -Dm 644 $srcdir/directories.ini $pkgdir/usr/share/mobac/directories.ini
  29.   rm -f "$pkgdir/usr/share/mobac/mobac.sh"
  30.   rm -f "$pkgdir/usr/share/mobac/Mobile Atlas Creator $pkgver.zip"
  31. }
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement