You are not logged in.
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à
Offline
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
ArchLinux (x86_64) w/ kdemod
Offline
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
Great! I was just gonna make this myself! thanks!
Offline
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
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
Offline
Oh, ha. Thanks a lot. :-)
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline