1 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
6 pkgdesc="An easy to use torrent creator for Linux/UNIX (CLI & GUI)"
8 url="http://benclarke.ca/rubytorrent/"
11 optdepends=('ruby-gtk2: for the GUI version')
12 source=(http://benclarke.ca/rubytorrent/${pkgname}-${pkgver}.tar.gz
14 md5sums=('929a012eb27f88bb40b6d864f30d4668'
15 '19cd76a4dea0c1f1629c40b3221d7965')
18 cd $srcdir/${pkgname}-${pkgver}
19 install -D -m755 htdocs/scripts/func.js $pkgdir/usr/share/$pkgname/htdocs/scripts/func.js
20 cp -r htdocs/css htdocs/images htdocs/index.html $pkgname/usr/share/$pkgname/htdocs/
21 install -m644 infohash.rb torrent.rb gtktorrent.rb httptorrent.rb $pkgdir/usr/share/$pkgname
22 install -D -m755 ../$pkgname.sh $pkgdir/usr/bin/$pkgname