summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdenetwork-libre/PKGBUILD')
-rw-r--r--libre/kdenetwork-libre/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/libre/kdenetwork-libre/PKGBUILD b/libre/kdenetwork-libre/PKGBUILD
index 2917b5f6f..c19457577 100644
--- a/libre/kdenetwork-libre/PKGBUILD
+++ b/libre/kdenetwork-libre/PKGBUILD
@@ -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