updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / charm / PKGBUILD
blobefa4a19a838b4ed174f0bdc33db7a6b1a53f2408
1 # Contributor: rpj8 (Factory) <semidigerati@gmail.com>
2 pkgname=charm
3 pkgver=1.9.1
4 pkgrel=4
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')
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