Date: Wednesday, September 14, 2016 @ 10:02:29
  Author: felixonmars
Revision: 276407

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdelibs4support/repos/testing-i686/
  kdelibs4support/repos/testing-i686/PKGBUILD
    (from rev 276406, kdelibs4support/trunk/PKGBUILD)
  kdelibs4support/repos/testing-x86_64/
  kdelibs4support/repos/testing-x86_64/PKGBUILD
    (from rev 276406, kdelibs4support/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: kdelibs4support/repos/testing-i686/PKGBUILD (from rev 276406, 
kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-09-14 10:02:29 UTC (rev 276407)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.26.0
+pkgrel=1
+pkgdesc='Porting aid from KDELibs4'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kunitconversion' 'kitemmodels' 'kemoticons' 'kded' 'kparts')
+makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools' 'networkmanager' 
'perl-uri' 'python' 'kdesignerplugin')
+groups=('kf5-aids')
+replaces=('kde4support')
+conflicts=('kde4support')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz";)
+md5sums=('88d50371f1580070d4cc9dd3f1bdcdf9')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_LIBEXECDIR=lib \
+    -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 276406, 
kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-09-14 10:02:29 UTC (rev 276407)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.26.0
+pkgrel=1
+pkgdesc='Porting aid from KDELibs4'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kunitconversion' 'kitemmodels' 'kemoticons' 'kded' 'kparts')
+makedepends=('extra-cmake-modules' 'kdoctools' 'qt5-tools' 'networkmanager' 
'perl-uri' 'python' 'kdesignerplugin')
+groups=('kf5-aids')
+replaces=('kde4support')
+conflicts=('kde4support')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz";)
+md5sums=('88d50371f1580070d4cc9dd3f1bdcdf9')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_LIBEXECDIR=lib \
+    -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
+}

Reply via email to