blob: 792ff332d04c6d32eb59f8a24fe251f8488f47ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rutorrent
pkgver=3.5
pkgrel=0
pkgdesc="Yet another web front-end for rTorrent"
url="http://code.google.com/p/rutorrent/"
arch="noarch"
license="GPL"
depends="php curl gzip coreutils"
depends_dev=""
makedepends=""
pkggroups="rutorrent"
install="$pkgname.pre-install $pkgname.post-install"
subpackages=""
source="http://rutorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname
build() {
cd "$_builddir"
}
package() {
cd "$_builddir"
install -d $pkgdir/usr/share/webapps/$pkgname
install -d $pkgdir/var/www/localhost/htdocs/
cp -r * $pkgdir/usr/share/webapps/$pkgname
chgrp -R rutorrent $pkgdir/usr/share/webapps/$pkgname/share
chmod 0775 $pkgdir/usr/share/webapps/$pkgname/share/settings
chmod 0775 $pkgdir/usr/share/webapps/$pkgname/share/torrents
chmod 0775 $pkgdir/usr/share/webapps/$pkgname/share/users
}
md5sums="210cbabe0ead88c865c654bab2109e92 rutorrent-3.5.tar.gz"
|