This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

pkgbuild for charm

By: a guest on Nov 10th, 2010  |  syntax: Bash  |  size: 0.81 KB  |  views: 59  |  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: rpj8 (Factory) <semidigerati@gmail.com>
  2. pkgname=charm
  3. pkgver=1.9.1
  4. pkgrel=3
  5. pkgdesc="Charm is a full-featured, console-based, cross-platfom blogging client for LiveJournal, Atom (Movable Type, Blogger), and MetaWeb (WordPress)."
  6. arch=('i686' 'x86_64')
  7. url="http://sourceforge.net/projects/ljcharm/"
  8. license=('GPL')
  9. depends=('python2')
  10. optdepends=('python-feedparser: atom API posting')
  11. #source=(http://superb-east.dl.sourceforge.net/sourceforge/ljcharm/$pkgname-$pkgver.tar.gz)
  12. source=(http://downloads.sourceforge.net/project/ljcharm/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
  13. md5sums=('eb6c5827b1c1e18cf3fba84b7dc52743')
  14.  
  15. build() {
  16.   cd "$srcdir/$pkgname-$pkgver"
  17.   sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' charm
  18.   python2 setup.py install --root="$pkgdir" --prefix=/usr || return 1
  19. }
clone this paste RAW Paste Data