diff options
Diffstat (limited to 'abs/extra-testing/community/transmission-cli/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/transmission-cli/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra-testing/community/transmission-cli/PKGBUILD b/abs/extra-testing/community/transmission-cli/PKGBUILD new file mode 100644 index 0000000..a3791fc --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 23076 2009-01-02 11:33:41Z alexanderf $ +# Maintainer: Alexander Fehr <pizzapunk gmail com> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +pkgname=transmission-cli +pkgver=1.42 +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') +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 + transmissiond.conf) +md5sums=('c083bdcb01426466e80ee339bccd9351' + 'e2326d412e25b4449ff663a5d4015e1a' + '7b019a710493ec4f8b54a1f528e1981d') + +build() { + cd "$srcdir/transmission-$pkgver" + + ./configure --prefix=/usr --disable-gtk --disable-wx || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond" || return 1 + install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1 + + install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1 +} |