From 5b7a5a65a83bad0f88ae3b7384af3a5f79e4fc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Thu, 13 Oct 2011 16:10:32 -0300 Subject: ~fauno/ruby-mustache-0.99.4-1 --- ~fauno/transmission-remote-cli/PKGBUILD | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to '~fauno/transmission-remote-cli/PKGBUILD') 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 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') -- cgit v1.2.3-2-g168b