updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / eatmonkey / PKGBUILD
blob6a9d72e63c43befc36a32ac5d78d0e53a55710f5
1 pkgname=eatmonkey
2 pkgver=0.1.4
3 pkgrel=2
4 pkgdesc="Download manager works with aria2 xml-rpc"
5 arch=(any)
6 url="http://goodies.xfce.org/projects/applications/eatmonkey"
7 license=(custom)
8 depends=(gtk2 libnotify ruby aria2 ruby-gtk2)
9 install=eatmonkey.install
10 source=(http://archive.xfce.org/src/apps/eatmonkey/0.1/eatmonkey-$pkgver.tar.bz2)
11 md5sums=(7728946a5e65d709302102cb505a1ace)
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15   ./configure --prefix=/usr
16   make
17   make DESTDIR=$pkgdir install
18   (
19     echo '#!/bin/sh'
20     echo 'cd /usr/share/eatmonkey && exec ruby -I"/usr/share/eatmonkey" eat.rb "$@"'
21   ) > $pkgdir/usr/bin/eatmonkey