summaryrefslogtreecommitdiffstats
path: root/extra/transmission/Pkgfile
blob: 5b09f1e77358a1c774f398ec507f5f0ed7260ef6 (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, libevent

name=transmission
version=2.00
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/
}