updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / feed2imap / PKGBUILD
blob6cf9fea729346335f601719d5f686d785b759e84
1 # Maintainer: fauno <fauno@kiwwwi.com.ar>
2 pkgname=feed2imap
3 pkgver=1.0
4 pkgrel=1
5 pkgdesc="RSS/Atom feed aggregator that uploads them to a specified folder of an IMAP mail server or copies them to a local maildir"
6 arch=('any')
7 url="http://home.gna.org/feed2imap/"
8 license=('GPL2')
9 depends=('ruby-feedparser' 'ruby-rmail')
10 makedepends=('ruby')
11 md5sums=('c34929e4359b49d5be15022e5177f94b')
13 source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tgz)
15 build() {
16   cd $srcdir/$pkgname-$pkgver
17   ./setup.rb config \
18              --prefix=${pkgdir}/usr \
19              --sysconfdir=${pkgdir}/etc \
20              --rubypath="/usr/bin/env ruby" \
21              --libruby=$pkgdir/usr/lib/ruby \
22              --librubyver=$pkgdir/usr/lib/ruby/1.9.1 \
23              --siteruby=$pkgdir/usr/lib/ruby/1.9.1 \
24              --siterubyver=$pkgdir/usr/lib/ruby/1.9.1
25     
27   ./setup.rb install || return 1
29   #rake test || return 1