diff options
Diffstat (limited to 'libre/kdenetwork-kopete-libre/PKGBUILD')
-rw-r--r-- | libre/kdenetwork-kopete-libre/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libre/kdenetwork-kopete-libre/PKGBUILD b/libre/kdenetwork-kopete-libre/PKGBUILD new file mode 100644 index 000000000..2f33f98e9 --- /dev/null +++ b/libre/kdenetwork-kopete-libre/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 205344 2014-02-04 14:04:24Z svenstaro $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=kdenetwork-kopete +pkgname=kdenetwork-kopete-libre +pkgver=4.12.2 +pkgrel=1 +pkgdesc='Instant Messenger, without Skype support' +url='http://kde.org/applications/internet/kopete/' +arch=('i686' 'x86_64' 'mips64el') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdenetwork') +depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' 'libidn' + 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp') +makedepends=('cmake' 'automoc4' 'boost') +install=${_pkgname}.install +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("http://download.kde.org/stable/${pkgver}/src/kopete-${pkgver}.tar.xz") +sha1sums=('6b5ebab916f4527157cf7f979724538f38052bad') + +prepare() { + cd kopete-${pkgver} + # 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' protocols/CMakeLists.txt + rm -rf protocols/skype + sed 's/, Skype//' -i doc/index.docbook + cd .. + mkdir build +} + +build() { + cd build + cmake ../kopete-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} |