PKGBUILDs/extra/transmission-gtk/PKGBUILD
2009-10-09 21:23:22 -05:00

31 lines
1 KiB
Bash

# $Id: PKGBUILD 53922 2009-10-03 21:17:43Z eric $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=transmission-gtk
pkgver=1.75
pkgrel=1
pkgdesc="Fast, easy, and free BitTorrent client (GTK+ GUI)"
arch=('i686' 'x86_64')
url="http://www.transmissionbt.com/"
license=('MIT')
depends=('curl' 'libnotify' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool')
optdepends=('notification-daemon: Desktop notification support')
replaces=('transmission')
install=transmission-gtk.install
source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2)
md5sums=('ec09b76ca941f5c389d8dd4f469f1fa6')
sha1sums=('8ce610a9d743cdd6fa6495824d03416bee9a3512')
build() {
cd "$srcdir/transmission-$pkgver"
./configure --prefix=/usr --disable-wx --disable-cli --disable-daemon || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
# Remove web client
rm -rf "$pkgdir/usr/share/transmission" || return 1
install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-gtk/COPYING" || return 1
}