summaryrefslogtreecommitdiff
path: root/~fauno/transmission-remote-cli/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-05 16:12:34 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-01-05 16:12:34 -0300
commit9f6b0e3307f40a6115482338178e41c52c8cc072 (patch)
tree62616aba6f26e37c587b67b3507be7a20dc990d4 /~fauno/transmission-remote-cli/PKGBUILD
parent6550e3926da7432dd8287740ddc488e37ece05c4 (diff)
downloadabslibre-9f6b0e3307f40a6115482338178e41c52c8cc072.tar.gz
abslibre-9f6b0e3307f40a6115482338178e41c52c8cc072.tar.bz2
abslibre-9f6b0e3307f40a6115482338178e41c52c8cc072.zip
Rebuilds and minor changes
Diffstat (limited to '~fauno/transmission-remote-cli/PKGBUILD')
-rw-r--r--~fauno/transmission-remote-cli/PKGBUILD38
1 files changed, 7 insertions, 31 deletions
diff --git a/~fauno/transmission-remote-cli/PKGBUILD b/~fauno/transmission-remote-cli/PKGBUILD
index 869a2ebff..5e3699bce 100644
--- a/~fauno/transmission-remote-cli/PKGBUILD
+++ b/~fauno/transmission-remote-cli/PKGBUILD
@@ -4,50 +4,26 @@ 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"
+url="https://github.com/fagga/transmission-remote-cli"
license=('GPL3')
depends=('python2')
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')
+conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013")
replaces=('transmission-remote-cli-git')
-source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz
python2.patch)
-md5sums=('df3cdde879275fbffb1af17872e9c860'
- '6273609fb3a7294328aeaa526b76411c')
-
-_gitroot="http://github.com/fagga/transmission-remote-cli.git"
-_gitname="transmission-remote-cli"
-
-mksource() {
- echo "Connecting to the GIT repository..."
-
- if [ -d "$_gitname" ] ; then
- 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"
-
- git archive --prefix=${pkgname}-${pkgver}/ | gzip > ${pkgname}-${pkgver}.tar.gz
-}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
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 -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli
}
+md5sums=('b85382bc2e24c5733f9c3833098da668'
+ '6273609fb3a7294328aeaa526b76411c')