You are not logged in.
Hello,
the SIP Communicator (now Jitsi), an open-source encrypted VoIP and multiprotocol IM, has already been flagged as out-of-date in February/2011; however no new updates have been made since then. The page of the package is this: http://aur.archlinux.org/packages.php?ID=32221
I think it's an important project because it has many features and potential to be a good alternative to Pidgin and Skype.
I modified the PKGBUILD so it works with the nightly build 3456, as of 2011.05.05. Here it goes:
# SIP-Communicator: Installer: Arch
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
# Contributor: atommix aka Aleks Lifey <Aleks.Lifey@gmail.com>
realname=sip-communicator
pkgname=${realname}-nightly
relver=1.0
devver=beta1
buildver=3456
pkgver=${relver}.${devver}.${buildver}
pkgrel=1
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java"
arch=("i686" "x86_64")
url="http://www.jitsi.org/"
license=("GPL")
provides=("${realname}")
depends=("java-runtime")
makedepends=("apache-ant")
conflicts=("${realname}" "${realname}-svn")
options=(!emptydirs)
source=(http://download.${realname}.org/jitsi/src/${realname}-src-${relver}-${devver}-nightly.build.${buildver}.zip)
build() {
cd ${srcdir}/${realname}
# Build
/usr/share/java/apache-ant/bin/ant rebuild || return 1
install -D ${srcdir}/${realname}/resources/install/debian/${realname}.sh.tmpl $pkgdir/usr/bin/${realname} || return 1
install -Dd ${srcdir}/${realname}/lib/bundle $pkgdir/usr/lib/${realname}/lib/bundle || return 1
install -D ${srcdir}/${realname}/lib/bundle/*.* $pkgdir/usr/lib/${realname}/lib/bundle/ || return 1
install -D ${srcdir}/${realname}/lib/*.* $pkgdir/usr/lib/${realname}/lib/ || return 1
install -Dd ${srcdir}/${realname}/lib/native $pkgdir/usr/lib/${realname}/lib/native || return 1
if [[ `uname -m` = "x86_64" ]]; then
install -D ${srcdir}/${realname}/lib/native/linux-64/*.* $pkgdir/usr/lib/${realname}/lib/native/
else
install -D ${srcdir}/${realname}/lib/native/linux/*.* $pkgdir/usr/lib/${realname}/lib/native/
fi
install -Dd ${srcdir}/${realname}/sc-bundles $pkgdir/usr/lib/${realname}/sc-bundles || return 1
install -D ${srcdir}/${realname}/sc-bundles/*.* $pkgdir/usr/lib/${realname}/sc-bundles/ || return 1
install -D ${srcdir}/${realname}/lib/os-specific/linux/jdic_stub.jar $pkgdir/usr/lib/${realname}/lib/ || return 1
cp -r ${srcdir}/${realname}/sc-bundles/os-specific/linux/ $pkgdir/usr/lib/${realname}/sc-bundles/ || return 1
mkdir -p $pkgdir/usr/share/pixmaps
cp ${srcdir}/${realname}/resources/install/debian/${realname}.svg $pkgdir/usr/share/pixmaps/${realname}.svg
cp ${srcdir}/${realname}/resources/install/debian/${realname}-16.xpm $pkgdir/usr/share/pixmaps/${realname}-16.xpm
cp ${srcdir}/${realname}/resources/install/debian/${realname}-32.xpm $pkgdir/usr/share/pixmaps/${realname}-32.svg
mkdir -p $pkgdir/usr/share/applications
cp ${srcdir}/${realname}/resources/install/debian/${realname}.desktop $pkgdir/usr/share/applications/
#rm -rf ${srcdir}/${realname}
}
sha1sums=('5668abf8fa7af0051549df6a7495178060cb479b')To adapt it to other builds, it's only necessary to change the buildver and sha1sums.
Only two things didn't work:
1) The last line:
cp ${srcdir}/${realname}/resources/install/debian/${realname}.desktop $pkgdir/usr/share/applications/because there is no ${realname}.desktop file inside of the /debian/ folder
2) The execution of the program itself, which gives a Java error (in this case, maybe I did something wrong).
So if someone would like to fix it, please feel free to do so.
Thanks!!
Last edited by ILoveJapaneseGirls (2011-05-05 21:34:46)
Offline