transmission: make this build properly.

This commit is contained in:
Juan RP 2012-12-05 11:00:18 +01:00
parent 6c83e539f2
commit 34dd945c59
3 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,6 @@
pkgname=transmission
version=2.73
revision=2
wrksrc="${pkgname}-2.72" # WTF
build_style=gnu-configure
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp"
makedepends="pkg-config intltool zlib-devel openssl-devel dbus-glib-devel
@ -11,8 +10,8 @@ short_desc="A fast, easy, and free BitTorrent client"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.transmissionbt.com/"
license="MIT, GPL-2"
distfiles="http://download.transmissionbt.com/files/$pkgname-$version.tar.bz2"
checksum=dae699e27c3783e7fd6a84e2183dad9bcdbf40603eab9405e57dfe455cea031c
distfiles="http://download.transmissionbt.com/files/$pkgname-$version.tar.xz"
checksum=7907f47f6eabf63f25ecc63b388f2abd4ac82f61d7d827657681ec36ff1507f6
long_desc="
Transmission is a free, lightweight BitTorrent client. It features a simple,
intuitive interface on top on an efficient, cross-platform back-end."

View File

@ -7,9 +7,9 @@ long_desc="${long_desc}
This package contains transmission-gtk, the GTK+ frontend."
do_install() {
mv usr/bin/transmission-gtk usr/bin
mv usr/share/man/man1/transmission-gtk.1 usr/share/man/man1
mv usr/share/icons/hicolor usr/share/icons
mv usr/share/applications usr/share
mv usr/share/locale usr/share
vmove usr/bin/transmission-gtk usr/bin
vmove usr/share/man/man1/transmission-gtk.1 usr/share/man/man1
vmove usr/share/icons/hicolor usr/share/icons
vmove usr/share/applications usr/share
vmove usr/share/locale usr/share
}

View File

@ -7,7 +7,7 @@ long_desc="${long_desc}
This package contains transmission-qt, the QT frontend."
do_install() {
make -C ${wksrc}/qt INSTALL_ROOT=${DESTDIR}/usr install
make -C ${wrksrc}/qt INSTALL_ROOT=${DESTDIR}/usr install
vinstall qt/icons/transmission.png 644 \
usr/share/pixmaps transmission-qt.png
vinstall qt/transmission-qt.desktop 644 usr/share/applications