summaryrefslogtreecommitdiff
path: root/~fauno/transmission-remote-cli
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-13 16:10:32 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-13 16:10:32 -0300
commit5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21 (patch)
tree503676f528ab510143684bc9ad6f4ed22b5a71f6 /~fauno/transmission-remote-cli
parent144a82822742596f18c1f9ce936e940fa893fafb (diff)
downloadabslibre-5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21.tar.gz
abslibre-5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21.tar.bz2
abslibre-5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21.zip
~fauno/ruby-mustache-0.99.4-1
Diffstat (limited to '~fauno/transmission-remote-cli')
-rw-r--r--~fauno/transmission-remote-cli/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/~fauno/transmission-remote-cli/PKGBUILD b/~fauno/transmission-remote-cli/PKGBUILD
index 9a93c431f..869a2ebff 100644
--- a/~fauno/transmission-remote-cli/PKGBUILD
+++ b/~fauno/transmission-remote-cli/PKGBUILD
@@ -1,20 +1,21 @@
# Maintainer: fauno <fauno@kiwwwi.com.ar>
pkgname=transmission-remote-cli
-pkgver=20110901
-pkgrel=2
+pkgver=0.10.4
+pkgrel=1
pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission"
arch=('any')
url="http://github.com/fagga/transmission-remote-cli"
license=('GPL3')
depends=('python2')
-optdepends=('adns-python: Resolve IPs to host names'
+optdepends=('transmission-daemon>=2.40: for local transmission management'
+ 'adns-python: Resolve IPs to host names'
'python-geoip: Guess which country peers come from')
makedepends=('git')
conflicts=('transmission-remote-cli-git')
replaces=('transmission-remote-cli-git')
source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz
python2.patch)
-md5sums=('1a087e384b413577f9d49917fd8eaab5'
+md5sums=('df3cdde879275fbffb1af17872e9c860'
'6273609fb3a7294328aeaa526b76411c')
_gitroot="http://github.com/fagga/transmission-remote-cli.git"
@@ -24,28 +25,29 @@ mksource() {
echo "Connecting to the GIT repository..."
if [ -d "$_gitname" ] ; then
- pushd $_gitname && git pull origin
+ pushd $_gitname
+ git -b 2.40 origin/2.40
+ git pull origin
echo "The local files are updated."
popd
else
git clone $_gitroot
+ cd $_gitroot
+ git checkout -b 2.40 origin/2.40
fi
echo "GIT checkout done or server timeout"
- tar czf ${pkgname}-$(date +%Y%m%d).tar.gz ${_gitname}/
+ git archive --prefix=${pkgname}-${pkgver}/ | gzip > ${pkgname}-${pkgver}.tar.gz
}
build() {
- cd "${srcdir}/${_gitname}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
msg "Starting make..."
patch -Np1 -i ${srcdir}/python2.patch
- install -d $pkgdir/usr/bin/
- install -D transmission-remote-cli.py $pkgdir/usr/bin/transmission-remote-cli
+ install -d ${pkgdir}/usr/bin/
+ install -D transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli
}
-
-md5sums=('df3cdde879275fbffb1af17872e9c860'
- '6273609fb3a7294328aeaa526b76411c')