Date: Monday, February 12, 2018 @ 09:39:10
  Author: arojas
Revision: 316711

archrelease: copy trunk to testing-x86_64

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

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: kdelibs4support/repos/testing-x86_64/PKGBUILD (from rev 316710, 
kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-02-12 09:39:10 UTC (rev 316711)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.43.0
+pkgrel=1
+pkgdesc='Porting aid from KDELibs4'
+arch=('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')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('9055714b63f2995c8d22c33683b3b7713016e5551ccb2502d6c3dbbbcd2093e7'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure 
<fa...@kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_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