summaryrefslogtreecommitdiff
path: root/pcr/jitsi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/jitsi/PKGBUILD')
-rw-r--r--pcr/jitsi/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/pcr/jitsi/PKGBUILD b/pcr/jitsi/PKGBUILD
index c297d2e3d..74d1625aa 100644
--- a/pcr/jitsi/PKGBUILD
+++ b/pcr/jitsi/PKGBUILD
@@ -7,10 +7,11 @@
# - corrected used license
# - fixed build by removing the following line:
# . /etc/profile.d/apache-ant.sh
+# - removed bundled binaries
pkgname=jitsi
pkgver=2.10.5550
-pkgrel=8
+pkgrel=9
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)"
arch=('armv7h' 'i686' 'x86_64')
url="http://jitsi.org"
@@ -24,6 +25,11 @@ source=("https://download.jitsi.org/jitsi/src/jitsi-src-${pkgver}.zip"
sha256sums=('cdfc6f038d1b877c42d26dba1864ac7c6b554dd55c18767a29f2db3618647287'
'40a411ec494280490a0e1a137735ef5efca434d8d10f18b0124df9e93302f959'
'b22ae316fece079ce7f56060f79722d74867562ec12b9a5279d144eb359587c9')
+prepare()
+{
+ cd "${srcdir}/${pkgname}"
+ rm -rf lib/native
+}
build()
{
@@ -36,9 +42,7 @@ build()
package() {
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/"{} \;
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"