Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 1st, 2010  |  syntax: Bash  |  size: 1.44 KB  |  views: 157  |  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. pkgname=jasspa-me
  2. relver=20090909
  3. metreever=20091017
  4. pkgver=20091011
  5. pkgrel=1
  6. pkgdesc="Jasspa.org microemacs editor"
  7. arch=('i686' 'x86_64')
  8. url="http://www.jasspa.com/"
  9. license=('GPL')
  10. groups=
  11. provides=
  12. depends=('ncurses')
  13. makedepends=()
  14. conflicts=()
  15. replaces=()
  16. backup=()
  17. install=
  18. source=("${url}release_${relver}/jasspa-mesrc-${pkgver}.tar.gz"
  19.         "${url}release_${relver}/jasspa-metree-${metreever}.tar.gz")
  20.  
  21. md5sums=('a4db0f1b9bf6fd9699d13366e15305b9'
  22.          '82f250e7dbfc5ae2917230de76a24826')
  23.  
  24. build() {
  25.         cd ${startdir}/src/me091011/src
  26.         sed -i.bak -e '74d' -e'69,72d' linux26.gmk #Make sure we use ncurses
  27.         make -f linux26.gmk || return 1
  28.         mkdir -p ${startdir}/pkg/usr/bin
  29.         make -f linux26.gmk INSTDIR=${startdir}/pkg/usr/bin install || return 1
  30.         cp linux26.gmk.bak linux26.gmk
  31.         cd ${startdir}/src
  32.         # Install supporting files
  33.         install -d -o root -g root -m 0755 ${startdir}/pkg/usr/share/jasspa/{company,contrib,macros,spelling} ${startdir}/pkg/usr/share/pixmaps
  34.         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/pixmaps jasspa/pixmaps/*
  35.         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/company jasspa/company/*
  36.         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/contrib jasspa/contrib/*
  37.         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/macros jasspa/macros/*
  38.         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/spelling jasspa/spelling/*
  39.  
  40. }
clone this paste RAW Paste Data