summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/transmission-cli/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/transmission-cli/PKGBUILD')
-rw-r--r--abs/extra/community/transmission-cli/PKGBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/abs/extra/community/transmission-cli/PKGBUILD b/abs/extra/community/transmission-cli/PKGBUILD
index a3791fc..40af42a 100644
--- a/abs/extra/community/transmission-cli/PKGBUILD
+++ b/abs/extra/community/transmission-cli/PKGBUILD
@@ -3,33 +3,39 @@
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=transmission-cli
-pkgver=1.42
+pkgver=2.04
pkgrel=1
pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
arch=('i686' 'x86_64')
url="http://www.transmissionbt.com/"
license=('MIT')
-depends=('curl')
+depends=('curl' 'libevent')
makedepends=('intltool')
replaces=('transmission')
backup=('etc/conf.d/transmissiond')
install=transmission-cli.install
source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
- transmissiond
+ run.transmissiond
+ transmission-cli.install
+ transmission.include
transmissiond.conf)
-md5sums=('c083bdcb01426466e80ee339bccd9351'
- 'e2326d412e25b4449ff663a5d4015e1a'
- '7b019a710493ec4f8b54a1f528e1981d')
build() {
cd "$srcdir/transmission-$pkgver"
- ./configure --prefix=/usr --disable-gtk --disable-wx || return 1
+ ./configure --prefix=/usr --disable-gtk || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
- install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond" || return 1
+ mkdir -p -m744 "$pkgdir/etc/sv/transmissiond" || return 1
+ mkdir -p -m777 "$pkgdir/myth/transmission" || return 1
+ install -D -m755 "$srcdir/run.transmissiond" "$pkgdir/etc/sv/transmissiond/run" || return 1
install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1
-
+ install -D -m644 "$srcdir/transmission.include" "$pkgdir/etc/transmission/transmission.include" || return 1
install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1
}
+md5sums=('84fe15eb7e000fdc369def513299358b'
+ 'b91534aaf2e403331c611c615ab2c03d'
+ 'ff22c13dbd52565f9e88b1de22514eb9'
+ 'b5a49ea375333cd0fee40f70dbac4c2e'
+ 'd05567c7a4f9df9f28602d1356d5c05c')