Ticket #1620: PKGBUILD

File PKGBUILD, 1013 bytes (added by dx, 12 years ago)

PKGBUILD with ./configure, depends, etc

Line 
1# $Id: PKGBUILD 20734 2008-12-06 14:02:04Z alexanderf $
2# Maintainer: Alexander Fehr <pizzapunk gmail com>
3# Modified by dx. Removed checksum and changed version to 1.41b4
4
5pkgname=transmission-gtk
6pkgver=1.41b4
7pkgrel=1
8pkgdesc="Fast, easy, and free BitTorrent client (GTK+ GUI)"
9arch=('i686' 'x86_64')
10url="http://www.transmissionbt.com/"
11license=('MIT')
12depends=('curl' 'libnotify' 'desktop-file-utils' 'hicolor-icon-theme')
13makedepends=('intltool')
14optdepends=('notification-daemon: Desktop notification support')
15replaces=('transmission')
16install=transmission-gtk.install
17source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2)
18
19build() {
20  cd "$srcdir/transmission-$pkgver"
21
22  ./configure --prefix=/usr --disable-cli --disable-daemon || return 1
23  make || return 1
24  make DESTDIR="$pkgdir" install || return 1
25
26  # Remove web client
27  rm -rf "$pkgdir/usr/share/transmission" || return 1
28
29  install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-gtk/COPYING" || return 1
30}