SHARE
TWEET

pkgbuild for charm

a guest Nov 10th, 2010 61 Never
  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. }
RAW Paste Data
Top