blob: 3fc362d9bab035b14760fd745f8a8686edc6e2ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
# Contributors: Keshav P R, atommix aka Aleks Lifey, Xavion, Ananda Samaddar, Dan Serban, Xyne
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=jitsi
pkgver=2.2.4603.9615
pkgrel=1
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)"
arch=('i686' 'x86_64')
url="http://jitsi.org"
license=('LGPL')
depends=('jre7-openjdk')
makedepends=('apache-ant' 'jdk7-openjdk')
options=(!strip !emptydirs zipman !libtool docs)
source=("http://download.jitsi.org/jitsi/src/jitsi-src-${pkgver}.zip"
jitsi.desktop
jitsi.sh)
sha256sums=('6ec46cc8f2306f5542c65fc637f70a7fe348b309ecc70a2483e05a745487ad41'
'61e3bec3470790fa067f87d978016ec4452a6fd3dfba2c9afa5245b58d3cb19d'
'529722efc3bae6cb8923680363a4d778ccf78db9caf20bee90a110d34181d9f5')
build()
{
cd "${srcdir}/${pkgname}-src-${pkgver}"
# append the build revision to the jitsi version
sed -i "s/0\.build\.by\.SVN/build.${pkgver}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java
. /etc/profile.d/apache-ant.sh
ant rebuild
}
package() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
find lib/ lib/bundle/ -maxdepth 1 -type f \
-exec install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{} \;
find lib/os-specific/linux/ -maxdepth 1 -type f \
-execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/lib/"{} \;
shopt -sq extglob
find lib/native/linux$(sed 's/_/-/g' <<<${CARCH/#*(i?86|x86)/})/ -maxdepth 1 -type f \
-execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/lib/native/"{} \;
find sc-bundles/{,os-specific/linux/} -maxdepth 1 -type f \
-execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/sc-bundles/"{} \;
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
cd "resources/install/debian/"
for _file in *.{svg,xpm}; do
install -Dm644 "$_file" "${pkgdir}/usr/share/pixmaps/${_file}"
done
}
|