updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qtr / PKGBUILD
blobb3278bb2fa0de1ee88d20433ef4b79f431c4ca68
1 # $Id$
2 # Maintainer: Alexander Ovsyannikov <ovsinc@ya.ru>
4 pkgname=qtr
5 pkgver=1.93
6 pkgrel=1
7 pkgdesc="Fast, easy, and free BitTorrent client (Only Beta Qt GUI)"
8 arch=('i686' 'x86_64')
9 url="http://www.transmissionbt.com/"
10 license=('MIT' 'GPL')
11 depends=('curl' 'qt>=4' 'openssl')
12 makedepends=('intltool')
13 conflicts=('transmission-qt')
14 replaces=('transmission-qt')
15 install=transmission-qt.install
16 source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
17 qtransmission.desktop
18 qtransmission.png)
20 build() {
21 # Build Command-Line client
22 cd "$srcdir/transmission-$pkgver"
23 ./configure --prefix=/usr --disable-gtk --disable-wx --disable-cli --disable-daemon || return 1
24 make || return 1
26 # Build Qt GUI
27 cd "$srcdir/transmission-$pkgver/qt"
28 qmake qtr.pro || return 1
29 make || return 1
30 INSTALL_ROOT=$pkgdir/usr make install || return 1
32 # Add freedesktop compatibility
33 install -D -m 664 $srcdir/qtransmission.png $pkgdir/usr/share/pixmaps/qtransmission.png || return 1
34 install -D -m 664 $srcdir/qtransmission.desktop $pkgdir/usr/share/applications/qtransmission.desktop || return 1
35 install -D -m 664 $srcdir/transmission-$pkgver/COPYING $pkgdir/usr/share/licenses/transmission-qt/COPYING || return 1
37 md5sums=('f68358d03e46bec5704bbaa894990152'
38          'f206324293290e8f40984800707c103d'
39          '96cc659d172574460c593f8f66305fe7')