summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-25 23:16:29 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-25 23:16:29 -0300
commitc46ff94f4b3dcf2836858efc837f6224ac2defc8 (patch)
tree17e5720ec9a3b43f837590ddd16330174e00f9d7 /libre/kdenetwork-libre
parent4d621ee5978d93e45754205c92159701503760de (diff)
downloadabslibre-c46ff94f4b3dcf2836858efc837f6224ac2defc8.tar.gz
abslibre-c46ff94f4b3dcf2836858efc837f6224ac2defc8.tar.bz2
abslibre-c46ff94f4b3dcf2836858efc837f6224ac2defc8.zip
libre/kdenetwork-libre
Diffstat (limited to 'libre/kdenetwork-libre')
-rw-r--r--libre/kdenetwork-libre/PKGBUILD33
1 files changed, 14 insertions, 19 deletions
diff --git a/libre/kdenetwork-libre/PKGBUILD b/libre/kdenetwork-libre/PKGBUILD
index c19457577..640370d42 100644
--- a/libre/kdenetwork-libre/PKGBUILD
+++ b/libre/kdenetwork-libre/PKGBUILD
@@ -1,9 +1,10 @@
# $Id: PKGBUILD 152429 2012-03-06 21:02:38Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
-# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
+# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
-pkgbase=kdenetwork
+_pkgbase=kdenetwork
+pkgbase=kdenetwork-libre
pkgname=('kdenetwork-filesharing'
'kdenetwork-kdnssd'
'kdenetwork-kget'
@@ -12,7 +13,7 @@ pkgname=('kdenetwork-filesharing'
'kdenetwork-krdc'
'kdenetwork-krfb')
pkgver=4.8.1
-pkgrel=2
+pkgrel=2.1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
@@ -21,26 +22,20 @@ 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://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}"
-}
+source=("http://download.kde.org/stable/${pkgver}/src/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('e914a1d990ff42ec88cf37ffc897ae9df9b1fa45')
build() {
cd "${srcdir}"
+
+# Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
+ sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' "${_pkgbase}-${pkgver}/kopete/protocols/CMakeLists.txt"
+ rm -rf "${_pkgbase}-${pkgver}/kopete/protocols/skype"
+ sed 's/, Skype//' -i "${_pkgbase}-${pkgver}/doc/kopete/index.docbook"
+
mkdir build
cd build
- cmake ../${pkgbase}-${pkgver} \
+ cmake ../${_pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -77,7 +72,7 @@ package_kdenetwork-kget() {
}
package_kdenetwork-kopete-libre() {
- pkgdesc='Instant Messenger'
+ pkgdesc='Instant Messenger (without skype support)'
depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn'
'libidn' 'qimageblitz' 'libgadu' 'mediastreamer')
conflicts=('kdenetwork-kopete')