You are not logged in.

#1 2005-01-31 17:57:40

benoitc
Member
Registered: 2004-11-11
Posts: 62
Website

azureus 2.2.0.2

Here is the pkgbuild for azureus :

#Contributor: Benoît Chesneau <benoitc@archlinuxfr.org>
pkgname=azureus
pkgver=2.2.0.2
pkgrel=1
pkgdesc="java bittorrent client"
url="http://www.azureus.sourceforge.net/"
license="GPL"
depends=('j2re' 'gtk2')
source=(http://ovh.dl.sourceforge.net/sourceforge/azureus/Azureus_2.2.0.2_linux.GTK.tar.bz2)
md5sums=('f827bd23d6fdec3dce06f387635a305c')

build() {
  cd $startdir/src
  mkdir -p $startdir/pkg/opt
  cp -R azureus $startdir/pkg/opt

  mkdir -p $startdir/pkg/etc/profile.d
  cp $startdir/azureus.sh  $startdir/pkg/etc/profile.d

}

an the file azureus.sh (in same folder than PKGBUILD) :

#!/bin/bash

export PATH=$PATH:/opt/azureus

voilà smile

Offline

#2 2005-01-31 19:40:13

Mith
Member
From: out there
Registered: 2004-10-05
Posts: 163

Re: azureus 2.2.0.2

nice,
even though I still think it's almost easier to just grab the source, untar it and just run it from where it is...

if someone could take that into a repo it would be perfect and if it could go into some official repo it would be wonderfull smile


ArchLinux (x86_64) w/ kdemod

Offline

#3 2005-02-11 12:05:29

Ecco
Member
Registered: 2005-01-23
Posts: 13

Re: azureus 2.2.0.2

I just made one myself, quite similar to yours. Only it adds a desktop entry.

PKGBUILD

# Contributor: Ecco <ecco@crivens.demon.nl>
pkgname=azureus
pkgver=2.2.0.2
pkgrel=1
pkgdesc="Java BitTorrent client"
url="http://azureus.sourceforge.net/"
license="GPL"
depends=('j2re>=1.5.0' 'gtk2')
source=(http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_${pkgver}_linux.GTK.tar.bz2 azureus.desktop azureus.profile)
md5sums=('f827bd23d6fdec3dce06f387635a305c')

build() {
  mkdir -p $startdir/pkg/opt
  cp -R $startdir/src/azureus $startdir/pkg/opt/azureus
  chown root.root $startdir/pkg/*
  install -m 644 -D $startdir/src/azureus/Azureus.png $startdir/pkg/usr/share/pixmaps/azureus.png
  install -m 644 -D $startdir/src/azureus.desktop $startdir/pkg/usr/share/applications/azureus.desktop
  install -m 755 -D $startdir/src/azureus.profile $startdir/pkg/etc/profile.d/azureus.sh
}

azureus.profile

export PATH=$PATH:/opt/azureus

azureus.desktop

[Desktop Entry]
Name=Azureus
Comment=Azureus BitTorrent Client
Exec=azureus
Icon=azureus.png
Terminal=0
Categories=Application;Network;
Type=Application

Offline

#4 2005-03-11 21:52:18

Alkimyst
Member
Registered: 2004-12-04
Posts: 16

Re: azureus 2.2.0.2

Great! I was just gonna make this myself! thanks!

Offline

#5 2005-03-14 00:23:42

nuopus
Member
From: Mesa, AZ
Registered: 2005-03-09
Posts: 60

Re: azureus 2.2.0.2

Hello, just thought I would make a new PKGBUILD for Azureus that does everything internally including creating the menu and putting the icons where they are supposed to go. I am a little frustrated with packages that do not contain .desktop entries, so I will try to create more packages with them.

This is my first package, so please give me critique!

# Contributor: Christopher Cox <nuopus@gmail.com>

pkgname=azureus
pkgver=2.2.0.2
pkgrel=1
pkgdesc="Java bittorrent client"
url="http://azureus.sourceforge.net"
license="GPL"
depends=('j2re>=1.5.0' 'xorg' 'gtk2')
source=(http://easynews.dl.sourceforge.net/sourceforge/azureus/Azureus_${pkgver}_linux.GTK.tar.bz2)

build() {
  mkdir -p $startdir/pkg/{opt,etc/profile.d} $startdir/pkg/usr/share/{applications,pixmaps}
  mv $startdir/src/azureus $startdir/pkg/opt
  cp $startdir/pkg/opt/azureus/Azureus.png $startdir/pkg/usr/share/pixmaps
  echo "export PATH=$PATH:/opt/azureus" > $startdir/pkg/etc/profile.d/azureus.sh  chmod 755 $startdir/pkg/etc/profile.d/azureus.sh
  echo -e "[Desktop Entry]n
Name=Azureusn
Comment=Azureus BitTorrent Client n
Exec=azureusn
Icon=Azureus.pngn
Terminal=0n
Categories=Application;Network;n
Type=Application" > $startdir/pkg/usr/share/applications/azureus.desktop
}

What do you guys think?

Offline

#6 2005-05-03 10:04:32

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: azureus 2.2.0.2

nuopus wrote:

What do you guys think?

I think something went wrong with the $PATH being completed in the /etc/profile.d/azureus.sh file, and the chmod command should probably not be on the same line.

Anyway now of course we'd like to have 2.3.0.0, but it seems they didn't do a release for Linux yet as of now.


http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

#7 2005-05-04 10:17:33

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Offline

#8 2005-05-04 14:01:05

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: azureus 2.2.0.2

Oh, ha. Thanks a lot. :-)


http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

Board footer

Powered by FluxBB