Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Updated PKGBUILD for NixNote

By: delucks on Feb 11th, 2013  |  syntax: None  |  size: 0.88 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: K. Hampf <khampf@users.sourceforge.net>
  2. pkgbranch=Current
  3. pkgname=nixnote
  4. pkgver=1.5
  5. pkgrel=2
  6. pkgdesc="Formerly called nevernote, nixnote is a clone of Evernote designed to run on Linux"
  7. url="http://www.sourceforge.net/projects/nevernote/files/"
  8. arch=('i686' 'x86_64')
  9. license=('GPL')
  10. depends=('java-runtime' 'libpng12')
  11. provides=('nixnote')
  12. conflicts=('nixnote')
  13.  
  14. if [ "${CARCH}" == "x86_64" ]; then
  15.     _filearch=amd64
  16.         md5sums=('391f772c3219f67f83c721e8a97e6050')
  17. else
  18.     _filearch=i386
  19.     md5sums=('5dca5975b5ff945054aab5735acade98')
  20. fi
  21.  
  22. source=(${pkgname}-${pkgver}_${_filearch}.tar.gz::http://sourceforge.net/projects/nevernote/files/${pkgbranch}/${pkgname}-${pkgver}_${_filearch}.tar.gz/download)
  23.  
  24. build()
  25. {
  26.   bsdtar -xf ${pkgname}-${pkgver}_${_filearch}.tar.gz
  27.   cd nixnote
  28.   mv usr ${pkgdir}
  29.   cd ${pkgdir}/usr/bin
  30.   mv nixnote.sh nixnote
  31. }