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

slrn-svn PKGBUILD

By: a guest on Jun 12th, 2010  |  syntax: Bash  |  size: 1.11 KB  |  views: 169  |  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: Juergen Graefe <jg72@arcor.de>
  2. pkgname=slrn-svn
  3. pkgver=pre1.0.0
  4. _pkgbuildnum=18
  5. pkgrel=2
  6. pkgdesc="A highly customizable text-based newsreader"
  7. arch=(i686 x86_64)
  8. license=('GPL')
  9. url="http://www.slrn.org/"
  10. depends=('slang')
  11. conflicts=('slrn')
  12. install=${pkgname}.install
  13. #source=(http://www.slrn.org/downloads/slrn-${pkgver}-${_pkgbuildnum}.tar.bz2)
  14. source=(http://www.slrn.org/downloads/svn_snapshots/slrn-${pkgver}~${_pkgbuildnum}.tar.bz2)
  15. md5sums=('398ce1ad9b6c99721f0f84ff0b1306e0')
  16. build() {
  17.   cd ${startdir}/src/slrn
  18.   ./configure --prefix=/usr --sysconfdir=/etc \
  19.          --with-slang=/usr --with-slrnpull --with-ssl
  20.   make || return 1
  21.   make DESTDIR=${startdir}/pkg install
  22. # rm -f ${startdir}/pkg/usr/bin/{flea,muttbug}
  23. # rm -f $startdir/pkg/usr/share/man/man1/{flea,muttbug}.1
  24. # rm -f ${startdir}/pkg/etc/mime.types*
  25. # install -Dm644 contrib/gpg.rc ${startdir}/pkg/etc/Muttrc.gpg.dist
  26.   install -Dm644 contrib/slrnrc-conv ${startdir}/pkg/usr/bin/slrnrc-conv
  27.   install -Dm644 contrib/cleanscore ${startdir}/pkg/usr/bin/cleanscore
  28.   install -Dm644 doc/slrn.rc ${startdir}/pkg/etc/slrnrc
  29.  
  30. }
clone this paste RAW Paste Data