summaryrefslogtreecommitdiff
path: root/pcr/jitsi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/jitsi/PKGBUILD')
-rw-r--r--pcr/jitsi/PKGBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/pcr/jitsi/PKGBUILD b/pcr/jitsi/PKGBUILD
index e0fe27d2e..2ff97dc46 100644
--- a/pcr/jitsi/PKGBUILD
+++ b/pcr/jitsi/PKGBUILD
@@ -4,8 +4,8 @@
# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=jitsi
-pkgver=2.2.4603.9615
-pkgrel=2
+pkgver=2.4.4997
+pkgrel=1
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)"
arch=('i686' 'x86_64' 'mips64el')
url="http://jitsi.org"
@@ -17,13 +17,13 @@ source=("http://download.jitsi.org/jitsi/src/jitsi-src-${pkgver}.zip"
jitsi.desktop
jitsi.sh
drop-open-term-on-index-jn-html.patch)
-sha256sums=('6ec46cc8f2306f5542c65fc637f70a7fe348b309ecc70a2483e05a745487ad41'
+sha256sums=('f1c2688d7d6bf1916fed3b8b105a785662980c5b297dcab3c9e7d272647ef825'
'61e3bec3470790fa067f87d978016ec4452a6fd3dfba2c9afa5245b58d3cb19d'
'529722efc3bae6cb8923680363a4d778ccf78db9caf20bee90a110d34181d9f5'
'a862465431e9d272e00bb9aafe56edec0d5c4f3718062add53972685adb90631')
prepare() {
- cd $srcdir/$pkgname-src-$pkgver
+ cd $srcdir/$pkgname
# 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
@@ -66,22 +66,18 @@ prepare() {
}
build() {
- cd $srcdir/$pkgname-src-$pkgver
+ cd $srcdir/$pkgname
. /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/"{} \;
+ cd $srcdir/$pkgname
+ 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/"{} \;
+ 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"