summaryrefslogtreecommitdiffstats
path: root/transmission-remote-gtk/PKGBUILD
blob: 4fd735850a7df15f5c4d997f7f11cd5eda310a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: PitBall

pkgname=transmission-remote-gtk
pkgver=0.7
pkgrel=1
pkgdesc="GTK application for remote management of the Transmission BitTorrent client via its RPC interface"
arch=(i686 x86_64)
license=('GPL2')
depends=('json-glib' 'curl' 'libproxy' 'libnotify' 'libunique' 'geoip' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool')
install="${pkgname}.install"
options=('!libtool')
url="http://code.google.com/p/transmission-remote-gtk/"
source=("http://transmission-remote-gtk.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")

sha1sums=('a37f3857404d0493bbdbf894cf5714f800e21b37')

build()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --sysconfdir=/etc

  make

  make DESTDIR="${pkgdir}" install

  #add optional link in pixmaps folder
  install -dm755 ${pkgdir}/usr/share/pixmaps
  cd ${pkgdir}/usr/share/pixmaps
  ln -s ../icons/hicolor/scalable/apps/transmission-remote-gtk.svg transmission-remote-gtk.svg  
}