summaryrefslogtreecommitdiffstats
path: root/extra/transmission/Pkgfile
blob: a530174e8f4621a86f960a2ec948cc3b7259f2c6 (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
# Description: Client Bittorent leger et rapide
# URL: http://www.transmissionbt.com/
# Packager: fred.galusik at gmail dot com
# Maintainer: Blankoworld <blankoworld at wanadoo dot fr>
# Depends on: gtk, openssl, curl, xorg-xcb-util

name=transmission
version=1.92
release=1
source=( http://download.m0k.org/$name/files/$name-$version.tar.bz2 \
$name.desktop)

build() {
  cd $name-$version

  #Compilation
  ./configure --prefix=/usr \
    --enable-nls \
    --with-gtk \
    --enable-cli \
    --enable-daemon
    make
    make DESTDIR=$PKG install

  # Traitement divers
  rm $PKG/usr/share/transmission/web/LICENSE

  # Installation du raccourci bureau
  mkdir -p $PKG/usr/share/applications
  install -m 644 ../$name.desktop $PKG/usr/share/applications/
}