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

mutt-sidebar PKGBUILD

By: a guest on Jul 10th, 2012  |  syntax: Bash  |  size: 2.89 KB  |  views: 77  |  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. # Contributor: tobias [tobias [at] archlinux.org]
  2.  
  3. pkgname=mutt-sidebar
  4. pkgver=1.5.21
  5. pkgrel=5
  6. pkgdesc='Small but very powerful text-based mail client'
  7. url='http://www.mutt.org/'
  8. license=('GPL')
  9. backup=('etc/Muttrc')
  10. arch=('i686' 'x86_64')
  11. conflicts=('mutt')
  12. optdepends=('smtp-forwarder: to send mail')
  13. depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5')
  14. provides=('mutt')
  15. conflicts=('mutt')
  16. source=("ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz"
  17. "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.1/mutt-patched/sidebar"
  18. "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.1/mutt-patched/sidebar-dotted"
  19. "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.1/mutt-patched/sidebar-sorted"
  20. "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.1/mutt-patched/sidebar-utf8"
  21. "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.1/mutt-patched/multiple-fcc"
  22. "http://dbg.download.sourcemage.org/grimoire/codex/stable/mail/mutt/patches/trash_folder/trash_folder-1.5.18.patch.bz2"
  23. "build.patch")
  24.  
  25. install=install
  26.  
  27. build() {
  28.         cd "${srcdir}/mutt-${pkgver}"
  29.         patch -p1 -i ../sidebar
  30.         patch -p1 -i ../sidebar-dotted
  31.         patch -p1 -i ../sidebar-sorted
  32.         patch -p1 -i ../sidebar-utf8
  33.         patch -p1 -i ../multiple-fcc
  34.         patch -p1 -i ../trash_folder-1.5.18.patch
  35.         patch -p1 -i ../build.patch
  36.  
  37.         echo "sidebar-1.5.21-6.1 (debian-version)" >> PATCHES
  38.         echo "sidebar-dotted-1.5.21-6.1 (debian-version)" >> PATCHES
  39.         echo "sidebar-sorted-1.5.21-6.1 (debian-version)" >> PATCHES
  40.         echo "sidebar-utf8-1.5.21-6.1 (debian-version)" >> PATCHES
  41.         echo "multiple-fcc-1.5.21-6.1 (debian-version)" >> PATCHES
  42.  
  43.         ./configure \
  44.                 --prefix=/usr \
  45.                 --sysconfdir=/etc \
  46.                 --enable-gpgme \
  47.                 --enable-pop \
  48.                 --enable-imap \
  49.                 --enable-smtp \
  50.                 --enable-hcache \
  51.                 --with-curses=/usr \
  52.                 --with-regex \
  53.                 --with-gss=/usr \
  54.                 --with-ssl=/usr \
  55.                 --with-sasl \
  56.                 --with-idn \
  57.  
  58.         make
  59. }
  60.  
  61. package() {
  62.         cd "${srcdir}/mutt-${pkgver}"
  63.         make DESTDIR="${pkgdir}" install
  64.  
  65.         rm "${pkgdir}"/usr/bin/{flea,muttbug}
  66.         rm "${pkgdir}"/usr/share/man/man1/{flea,muttbug}.1
  67.         rm "${pkgdir}"/etc/mime.types{,.dist}
  68.         install -Dm644 contrib/gpg.rc "${pkgdir}"/etc/Muttrc.gpg.dist
  69. }
  70. md5sums=('a29db8f1d51e2f10c070bf88e8a553fd'
  71.          '24c5626910e9e24357dd00bc99d37f3f'
  72.          '53adaf8bd7285afabde2e54707ca8c29'
  73.          '704f5720ffdda708ea136a328341f263'
  74.          '7ca548cc83854d597f44c140ec3ab66d'
  75.          '1aa619582d7e68c9e23a68a0b7992b73'
  76.          '9d95c08295f8ec5171f774f776ef8413'
  77.          'e902fd103fd0c97347d923f3ca8f1554')
clone this paste RAW Paste Data