summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/kdenetwork-libre/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/libre/kdenetwork-libre/PKGBUILD b/libre/kdenetwork-libre/PKGBUILD
index 2917b5f6f..1b80970d1 100644
--- a/libre/kdenetwork-libre/PKGBUILD
+++ b/libre/kdenetwork-libre/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('kdenetwork-filesharing'
'kdenetwork-krdc'
'kdenetwork-krfb')
pkgver=4.8.1
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
@@ -21,17 +21,22 @@ makedepends=('cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'ppp'
'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn'
'v4l-utils' 'libidn' 'rdesktop' 'qimageblitz' 'libxdamage' 'libgadu'
'libktorrent' 'libmms' 'mediastreamer')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
-sha1sums=('e914a1d990ff42ec88cf37ffc897ae9df9b1fa45')
+source=("http://repo.parabolagnulinux.org/other/${pkgbase}-libre-${pkgver}.tar.xz")
+sha1sums=('953424a894acf60b6326cd9d9f045f0a9b548e7c')
# Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
+-mksource() {
+ [ -f "${pkgbase}-${pkgver}.tar.bz2" ] || wget "http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
+ tar xf "${pkgbase}-${pkgver}.tar.bz2"
+ cd "${pkgbase}-${pkgver}"
+ sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' kopete/protocols/CMakeLists.txt
+ rm -rf kopete/protocols/skype
+ sed 's/, Skype//' -i ./doc/kopete/index.docbook
+ cd ..
+ tar cJf "${pkgbase}-libre-${pkgver}.tar.xz" "${pkgbase}-${pkgver}"
+}
build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' kopete/protocols/CMakeLists.txt
- rm -rf kopete/protocols/skype
- sed 's/, Skype//' -i ./doc/kopete/index.docbook
-
cd "${srcdir}"
mkdir build
cd build