updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / rubytorrent / PKGBUILD
blob939f92e78a90c5c2cab6879789bd47b6193e37cb
1 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
3 pkgname=rubytorrent
4 pkgver=0.071
5 pkgrel=1
6 pkgdesc="An easy to use torrent creator for Linux/UNIX (CLI & GUI)"
7 arch=('i686' 'x86_64')
8 url="http://benclarke.ca/rubytorrent/"
9 license=('MIT')
10 depends=('ruby>=1.8')
11 optdepends=('ruby-gtk2: for the GUI version')
12 source=(http://benclarke.ca/rubytorrent/${pkgname}-${pkgver}.tar.gz
13                 $pkgname.sh)
14 md5sums=('929a012eb27f88bb40b6d864f30d4668'
15          '19cd76a4dea0c1f1629c40b3221d7965')
17 build() {
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
23