summaryrefslogtreecommitdiffstats
path: root/main/transmission
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-23 11:39:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-23 11:39:19 +0000
commit08ec8d1365bc3994994233508e012329a0d9ff4c (patch)
tree0d65659a8c249b7561b487e0748b42027446ffb3 /main/transmission
parentbbb5b98876a4b299c0af11ebdd3dcb66888af322 (diff)
downloadaports-08ec8d1365bc3994994233508e012329a0d9ff4c.tar.bz2
aports-08ec8d1365bc3994994233508e012329a0d9ff4c.tar.xz
main/transmission: upgrade to 2.11
Diffstat (limited to 'main/transmission')
-rw-r--r--main/transmission/APKBUILD32
1 files changed, 25 insertions, 7 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index 31a4bf90e..d973efd33 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer:Carlo Landmeter
pkgname=transmission
-pkgver=2.04
+pkgver=2.11
pkgrel=0
pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.tansmissionbt.com"
@@ -8,15 +8,30 @@ install="$pkgname.pre-install"
license="MIT"
depends=
makedepends="openssl-dev pkgconfig curl-dev gtk+-dev intltool libevent-dev
- libnotify-dev dbus-glib-dev"
+ libnotify-dev dbus-glib-dev autoconf automake"
source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
+ transmission-intllibs.patch
transmission-daemon.initd
transmission-daemon.confd
"
subpackages="$pkgname-cli $pkgname-daemon $pkgname-doc"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
+ aclocal -I m4 && automake
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man
@@ -24,7 +39,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
}
@@ -42,11 +57,14 @@ daemon() {
cli() {
pkgdesc="Lightweight BitTorrent client (cli and remote)"
install -d "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/transmission-remote \
- "$pkgdir"/usr/bin/transmissioncli \
+ mv "$pkgdir"/usr/bin/transmission-cli \
+ "$pkgdir"/usr/bin/transmission-create \
+ "$pkgdir"/usr/bin/transmission-edit \
+ "$pkgdir"/usr/bin/transmission-show \
"$subpkgdir"/usr/bin/
}
-md5sums="84fe15eb7e000fdc369def513299358b transmission-2.04.tar.bz2
+md5sums="ef2b40ddc2c17a57c47bfe15b1f23cc4 transmission-2.11.tar.bz2
+b648759515aa5f813b6ca6c027d4fbc5 transmission-intllibs.patch
f65b8ae46f8ac89b35844109b3aa0c18 transmission-daemon.initd
89478a70fcd93463e1dd8d751da994da transmission-daemon.confd"