diff options
-rw-r--r-- | libre/kdenetwork-libre/PKGBUILD | 33 |
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') |