Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 23rd, 2011  |  syntax: Bash  |  size: 0.90 KB  |  hits: 284  |  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. # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
  2.  
  3. # The file needed can be downloaded from
  4. # http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
  5.  
  6. pkgname=flasher
  7. pkgver=3.5_2.5.2.2
  8. pkgrel=2
  9. pkgdesc="Flasher utility for the Nokia N8X0 & N900"
  10. arch=('i686' 'x86_64')
  11. url="http://tablets-dev.nokia.com/maemo-dev-env-downloads.php"
  12. license=('Custom')
  13. if [ $CARCH == "i686" ]; then   depends=('libusb-compat'); fi
  14. if [ $CARCH == "x86_64" ]; then depends=('lib32-libusb-compat'); fi
  15. source=(maemo_flasher-3.5_2.5.2.2.tar.gz)
  16. md5sums=('0daa9898360f83bcb10db73775e70785')
  17.  
  18. package() {
  19.   cd "$srcdir/maemo_flasher-$pkgver"
  20.  
  21.   install -m755 -d $pkgdir/usr/{bin,share/man/man1,share/doc/flasher}
  22.   install -m755 flasher-3.5 $pkgdir/usr/bin/flasher
  23.   install -m644 man/man1/flasher-3.5.1 $pkgdir/usr/share/man/man1/flasher.1
  24.   cp doc/* $pkgdir/usr/share/doc/flasher
  25.  
  26. }
  27.  
  28. # vim:set ts=2 sw=2 et: