blob: 6c55746818c1cc44ddd091dff40f7131170f2f56 (
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
33
34
|
# 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
# Run on: gtk,openssl,curl,xorg-xcb-util,libevent
name=transmission
version=2.11
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/
}
|