summaryrefslogtreecommitdiff
path: root/testing/kdelibs3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kdelibs3/PKGBUILD')
-rw-r--r--testing/kdelibs3/PKGBUILD97
1 files changed, 0 insertions, 97 deletions
diff --git a/testing/kdelibs3/PKGBUILD b/testing/kdelibs3/PKGBUILD
deleted file mode 100644
index b3efef435..000000000
--- a/testing/kdelibs3/PKGBUILD
+++ /dev/null
@@ -1,97 +0,0 @@
-# $Id: PKGBUILD 169643 2012-10-25 01:35:25Z eric $
-# Maintainer: Eric BĂ©langer <eric@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=kdelibs3
-pkgver=3.5.10
-pkgrel=15
-pkgdesc='KDE3 Core Libraries'
-arch=('i686' 'x86_64')
-url='http://www.kde.org'
-license=('GPL' 'LGPL')
-depends=('libxslt' 'pcre' 'libart-lgpl' 'alsa-lib' 'libcups' 'jasper'
- 'libidn' 'openexr' 'aspell' 'qt3' 'ca-certificates')
-makedepends=('cups' 'hspell')
-optdepends=('hspell: for Hebrew spell-checking support')
-options=('libtool' '!makeflags')
-install=kdelibs3.install
-source=("ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/kdelibs-${pkgver}.tar.bz2"
- 'ftp://ftp.archlinux.org/other/kde/kde-3.5-1074156.patch.gz'
- 'acinclude.patch'
- 'kde3.profile'
- 'kde4-compatibility.patch'
- 'kconf_updaterc'
- 'openssl.patch'
- 'kdelibs3-missing-include.patch'
- 'kdelibs3-cups16.patch')
-sha1sums=('c930a25f4419134def55b8466c3a6f737227fb82'
- 'c8ca21e4848a627760746d0a8a64bf4f90684c3e'
- '50c9de71b102507fb78b192ecc22a5fc3e031bc3'
- 'fbd6e773edf3e8bb8e1272629984025e041da2ca'
- '5fbbf7a5e2032878815fa055bfb5020f478d2b25'
- '35e56fe4c5f71685e64b13f448dcacc620166e06'
- '50e92950498463defb9149ffcf8cbc2e8cd1063b'
- 'e5f5b8c060a2db9cedb82bf18caadfa869921779'
- '6a6c544b3336bfe89bb17ef737d783a7ec006c6c')
-
-build() {
- cd "$srcdir"/kdelibs-${pkgver}
-
- . /etc/profile.d/qt3.sh
- . "$srcdir"/kde3.profile
-
- patch -p0 -i "$srcdir"/kde-3.5-1074156.patch
- patch -p1 -i "$srcdir"/acinclude.patch
- patch -p1 -i "$srcdir"/kde4-compatibility.patch
- patch -p1 -i "${srcdir}"/openssl.patch
- patch -p0 -i "$srcdir"/kdelibs3-missing-include.patch
- patch -p1 -i "${srcdir}"/kdelibs3-cups16.patch
-
- sed -iautomake -e 's|automake\*1.10\*|automake\*1.1[0-5]\*|' admin/cvs.sh
- make -f admin/Makefile.common cvs
-
- ./configure --prefix=/opt/kde \
- --with-distribution='Arch Linux' \
- --with-alsa \
- --disable-debug \
- --disable-dnssd \
- --disable-dnotify \
- --enable-inotify \
- --enable-sendfile \
- --without-lua \
- --with-hspell \
- --enable-gcc-hidden-visibility \
- --enable-final \
- --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib" \
- --without-arts \
- --disable-libfam
- make
-}
-
-package() {
- cd "$srcdir"/kdelibs-${pkgver}
-
- make DESTDIR="$pkgdir" install
-
- # disable broken kconf_update by default
- install -D -m644 "$srcdir"/kconf_updaterc \
- "$pkgdir"/opt/kde/share/config/kconf_updaterc
-
- # install KDE3 profile
- install -D -m755 "$srcdir"/kde3.profile "$pkgdir"/etc/profile.d/kde3.sh
- # make KDE3 styles available to Qt3
- install -d -m755 "$pkgdir"/opt/qt/plugins
- ln -sf /opt/kde/lib/kde3/plugins/styles "$pkgdir"/opt/qt/plugins/styles
-
- # cert bundle seems to be hardcoded
- # link it to the one from ca-certificates
- rm -f "$pkgdir"/opt/kde/share/apps/kssl/ca-bundle.crt
- ln -sf /etc/ssl/certs/ca-certificates.crt "$pkgdir"/opt/kde/share/apps/kssl/ca-bundle.crt
-
- # we don't have khelpcenter anyway
- rm -rf "$pkgdir"/opt/kde/share/doc
-
- install -d -m755 "${pkgdir}"/etc/ld.so.conf.d/
- echo '/opt/kde/lib' > "${pkgdir}"/etc/ld.so.conf.d/kdelibs3.conf
-}