summaryrefslogtreecommitdiff
path: root/extra/kdelibs3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
committerroot <root@rshg054.dnsready.net>2013-04-21 01:12:26 -0700
commit031887a2047546085998f965214f5b682664de9b (patch)
treed093de81eafda62084703e9109f86de6e02f1ad2 /extra/kdelibs3
parent1f9776d421ac40faa59f797893033e99e4f919eb (diff)
Sun Apr 21 01:12:25 PDT 2013
Diffstat (limited to 'extra/kdelibs3')
-rw-r--r--extra/kdelibs3/PKGBUILD84
1 files changed, 36 insertions, 48 deletions
diff --git a/extra/kdelibs3/PKGBUILD b/extra/kdelibs3/PKGBUILD
index 9f21d9a2d..894a2f870 100644
--- a/extra/kdelibs3/PKGBUILD
+++ b/extra/kdelibs3/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 182393 2013-04-09 21:34:09Z eric $
+# $Id: PKGBUILD 183291 2013-04-20 16:41:26Z heftig $
# 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=16
+pkgrel=17
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'
+depends=('libxslt' 'libart-lgpl' 'alsa-lib' 'libcups' 'jasper'
'libidn' 'openexr' 'aspell' 'qt3' 'ca-certificates')
makedepends=('cups' 'hspell')
optdepends=('hspell: for Hebrew spell-checking support')
@@ -35,59 +35,47 @@ sha1sums=('c930a25f4419134def55b8466c3a6f737227fb82'
'e5f5b8c060a2db9cedb82bf18caadfa869921779'
'6a6c544b3336bfe89bb17ef737d783a7ec006c6c')
-build() {
- cd "$srcdir"/kdelibs-${pkgver}
-
- . "$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
+prepare() {
+ cd kdelibs-${pkgver}
+ 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
+}
- ./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
+build() {
+ cd kdelibs-${pkgver}
+ ./configure --prefix=/opt/kde --with-distribution='Arch Linux' \
+ --with-alsa --disable-dnssd --disable-dnotify \
+ --enable-inotify --enable-sendfile --with-hspell \
+ --enable-gcc-hidden-visibility --enable-final \
+ --without-arts --without-lua --disable-libfam
+ make
}
package() {
- cd "$srcdir"/kdelibs-${pkgver}
+ cd kdelibs-${pkgver}
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
- # disable broken kconf_update by default
- install -D -m644 "$srcdir"/kconf_updaterc \
- "$pkgdir"/opt/kde/share/config/kconf_updaterc
+# 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
+# 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"/usr/lib/qt3/plugins
+ ln -sf /opt/kde/lib/kde3/plugins/styles "$pkgdir"/usr/lib/qt3/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
+# cert bundle seems to be hardcoded
+# link it to the one from ca-certificates
+ 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
+# 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
+ install -d -m755 "${pkgdir}"/etc/ld.so.conf.d/
+ echo '/opt/kde/lib' > "${pkgdir}"/etc/ld.so.conf.d/kdelibs3.conf
}