Date: Saturday, December 12, 2015 @ 18:07:27 Author: fyan Revision: 255989
archrelease: copy trunk to testing-i686, testing-x86_64 Added: kdelibs4support/repos/testing-i686/ kdelibs4support/repos/testing-i686/PKGBUILD (from rev 255988, kdelibs4support/trunk/PKGBUILD) kdelibs4support/repos/testing-x86_64/ kdelibs4support/repos/testing-x86_64/PKGBUILD (from rev 255988, kdelibs4support/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) Copied: kdelibs4support/repos/testing-i686/PKGBUILD (from rev 255988, kdelibs4support/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-12-12 17:07:27 UTC (rev 255989) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdelibs4support +pkgver=5.17.0 +pkgrel=1 +pkgdesc='Porting aid from KDELibs4' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/kdelibs4support' +license=('LGPL') +depends=('kunitconversion' 'kdesignerplugin' 'kinit' 'kitemmodels' 'kemoticons') +makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools' 'networkmanager' 'perl-uri') +groups=('kf5-aids') +replaces=('kde4support') +conflicts=('kde4support') +source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz") +md5sums=('31293fec18749f0c0d8aad4be2ed27df') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib \ + -DLIBEXEC_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DHTML_INSTAL_DIR=/usr/share/doc/kdelibs4support/html \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + +# cert bundle seems to be hardcoded +# link it to the one from ca-certificates + rm -f "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt + ln -sf /etc/ssl/certs/ca-certificates.crt "${pkgdir}"/usr/share/kf5/kssl/ca-bundle.crt +} Copied: kdelibs4support/repos/testing-x86_64/PKGBUILD (from rev 255988, kdelibs4support/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-12-12 17:07:27 UTC (rev 255989) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdelibs4support +pkgver=5.17.0 +pkgrel=1 +pkgdesc='Porting aid from KDELibs4' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/kdelibs4support' +license=('LGPL') +depends=('kunitconversion' 'kdesignerplugin' 'kinit' 'kitemmodels' 'kemoticons') +makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools' 'networkmanager' 'perl-uri') +groups=('kf5-aids') +replaces=('kde4support') +conflicts=('kde4support') +source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz") +md5sums=('31293fec18749f0c0d8aad4be2ed27df') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=lib \ + -DLIBEXEC_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DHTML_INSTAL_DIR=/usr/share/doc/kdelibs4support/html \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + +# cert bundle seems to be hardcoded +# link it to the one from ca-certificates + rm -f "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt + ln -sf /etc/ssl/certs/ca-certificates.crt "${pkgdir}"/usr/share/kf5/kssl/ca-bundle.crt +}