diff options
author | skydrome | 2016-05-18 01:47:54 -0400 |
---|---|---|
committer | skydrome | 2016-05-18 01:47:54 -0400 |
commit | 530a2b7bc1e06ca625dc00bf5ee20b94298ca243 (patch) | |
tree | f17f0bd97b8ccaf5fc6109a8cda81c37394270ce | |
parent | b316c0393bf3d238979ce0aa7d1923ddba748270 (diff) | |
download | aur-530a2b7bc1e06ca625dc00bf5ee20b94298ca243.tar.gz |
update
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 7 deletions
@@ -1,12 +1,15 @@ pkgbase = rutorrent-git pkgdesc = Web frontend to rTorrent in PHP designed to resemble uTorrent - pkgver = r1569.1285473 + pkgver = r1738.6d6fa34 pkgrel = 1 url = https://github.com/Novik/ruTorrent install = rutorrent.install arch = any license = GPL makedepends = git + depends = php + depends = curl + depends = mktorrent optdepends = php-geoip: enable geoip plugin optdepends = geoip: enable geoip plugin optdepends = unrar: enable unpack plugin @@ -2,7 +2,7 @@ # Contributor: skydrome <skydrome@i2pmail.org> pkgname='rutorrent-git' -pkgver=r1569.1285473 +pkgver=r1738.6d6fa34 pkgrel=1 pkgdesc="Web frontend to rTorrent in PHP designed to resemble uTorrent" url="https://github.com/Novik/ruTorrent" @@ -12,7 +12,7 @@ arch=('any') install=rutorrent.install options=(!strip) -#depends=('php' 'curl' 'mktorrent') +depends=('php' 'curl' 'mktorrent') makedepends=('git') optdepends=('php-geoip: enable geoip plugin' 'geoip: enable geoip plugin' @@ -63,19 +63,19 @@ prepare() { for i in php stat curl id gzip; do sed -i conf/config.php \ - -e "s:\"$i\".*=> ''.*:\"$i\" => \'$(which $i)\',:" + -e "s:\"$i\".*=> ''.*:\"$i\" => \'/usr/bin/$i\',:" done for i in rar zip unzip unrar tar; do sed -i ../extra/filemanager/conf.php \ - -e "s:\$pathToExternals\['$i'\] = '':\$pathToExternals\['$i'\] = '$(which $i)':" + -e "s:\$pathToExternals\['$i'\] = '':\$pathToExternals\['$i'\] = '/usr/bin/$i':" sed -i plugins/unpack/conf.php \ - -e "s:\$pathToExternals\['$i'\] = '':\$pathToExternals\['$i'\] = '$(which $i)':" + -e "s:\$pathToExternals\['$i'\] = '':\$pathToExternals\['$i'\] = '/usr/bin/$i':" done sed -i plugins/create/conf.php \ -e "s:\$useExternal = false:\$useExternal = true:" \ - -e "s:\$pathToCreatetorrent = '':\$pathToCreatetorrent = '$(which mktorrent)':" + -e "s:\$pathToCreatetorrent = '':\$pathToCreatetorrent = '/usr/bin/$i':" sed -i php/settings.php \ -e "s:'/tmp:'/${_webdir}/rutorrent/tmp/:" |