summaryrefslogtreecommitdiff
path: root/pcr/jitsi
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-28 21:22:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-28 21:22:55 -0300
commit897db581282312e8ca0de9f31423ef153a571866 (patch)
treef1ed1dd0f217bcacedbfb6a383512a95bb15a2d9 /pcr/jitsi
parentbeb8b1041efbb1bce8e7c2e0aa734d3170eee21e (diff)
downloadabslibre-897db581282312e8ca0de9f31423ef153a571866.tar.gz
abslibre-897db581282312e8ca0de9f31423ef153a571866.tar.bz2
abslibre-897db581282312e8ca0de9f31423ef153a571866.zip
jitsi: remove open source term
Diffstat (limited to 'pcr/jitsi')
-rw-r--r--pcr/jitsi/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/pcr/jitsi/PKGBUILD b/pcr/jitsi/PKGBUILD
index 3fc362d9b..86169125a 100644
--- a/pcr/jitsi/PKGBUILD
+++ b/pcr/jitsi/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=jitsi
pkgver=2.2.4603.9615
-pkgrel=1
+pkgrel=2
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)"
arch=('i686' 'x86_64')
url="http://jitsi.org"
@@ -22,8 +22,16 @@ sha256sums=('6ec46cc8f2306f5542c65fc637f70a7fe348b309ecc70a2483e05a745487ad41'
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
+
+ # remove Open Source term
+ sed -i 's|<a href="http://www.opensource.org/">Open Source</a> / <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>|<a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>|' www/index-jn.html
+ sed -i 's|opensource.org|gnu.org/philosophy/free-sw.html|' $(grep -rl 'opensource.org')
+ sed -i 's|Open Source|Free Software|' $(grep -rl 'Open Source')
+ sed -i 's|opensource|freesoftware|' $(grep -rl 'opensource')
+
. /etc/profile.d/apache-ant.sh
ant rebuild
}