1 # Contributor: rpj8 (Factory) <semidigerati@gmail.com>
5 pkgdesc="Charm is a full-featured, console-based, cross-platfom blogging client for LiveJournal, Atom (Movable Type, Blogger), and MetaWeb (WordPress)."
7 url="http://sourceforge.net/projects/ljcharm/"
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')
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