updated on Wed Jan 25 12:16:47 UTC 2012
[aur-mirror.git] / ruby-feedparser / PKGBUILD
blobb0e3c998e501832cbbf9192ae765bb3ebc19cbc5
1 # Maintainer: fauno <fauno@kiwwwi.com.ar>
2 pkgname=ruby-feedparser
3 pkgver=0.7
4 pkgrel=1
5 pkgdesc="Ruby-Feedparser is an RSS and Atom parser for Ruby. It was initially developed for Feed2Imap, but it is now a standalone library."
6 arch=('any')
7 url="http://home.gna.org/ruby-feedparser"
8 license=('GPL2')
9 depends=('ruby')
10 makedepends=('ruby')
11 md5sums=('a075b191e318f7f57025088ac03baf8b')
12 source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tgz)
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   ./setup.rb config \
17              --prefix=${pkgdir}/usr \
18              --sysconfdir=${pkgdir}/etc \
19              --rubypath="/usr/bin/env ruby" \
20              --libruby=$pkgdir/usr/lib/ruby \
21              --librubyver=$pkgdir/usr/lib/ruby/1.9.1 \
22              --siteruby=$pkgdir/usr/lib/ruby/1.9.1 \
23              --siterubyver=$pkgdir/usr/lib/ruby/1.9.1
25   ./setup.rb install || return 1
27   rake test || return 1