summaryrefslogtreecommitdiffstats
path: root/extra/transmission/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/transmission/Pkgfile')
-rwxr-xr-xextra/transmission/Pkgfile32
1 files changed, 23 insertions, 9 deletions
diff --git a/extra/transmission/Pkgfile b/extra/transmission/Pkgfile
index 9123c3e21..62fe13498 100755
--- a/extra/transmission/Pkgfile
+++ b/extra/transmission/Pkgfile
@@ -1,19 +1,33 @@
# Description: Client Bittorent leger et rapide
# URL: http://www.transmissionbt.com/
-# Maintainer: NuTyX core team
# Packager: fred.galusik at gmail dot com
-# Depends on: atk, curl, dbus, expat, fontconfig, freetype, glib, glibc, glitz, gtk, intltool, libidn, libnotify, libpng, openssl, pango, libX11, xdg-utils, zlib
+# Maintainer: Blankoworld <blankoworld at wanadoo dot fr>
+# Depends on: gtk, openssl, curl, xorg-xcb-util
name=transmission
-version=1.72
+version=1.76
release=1
-source=(http://mirrors.m0k.org/transmission/files/$name-$version.tar.bz2)
+source=( http://download.m0k.org/$name/files/$name-$version.tar.bz2 \
+$name.desktop)
build() {
-cd $name-$version
- ./configure --prefix=/usr \
- --enable-static=no
- make
- make DESTDIR=$PKG install
+ cd $name-$version
+
+ #Compilation
+ ./configure --prefix=/usr \
+ --mandir=/usr/man \
+ --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/
}