[arch-commits] Commit in kdelibs4support/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Oct 9 17:59:06 UTC 2016
Date: Sunday, October 9, 2016 @ 17:59:06
Author: felixonmars
Revision: 278114
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdelibs4support/repos/testing-i686/
kdelibs4support/repos/testing-i686/PKGBUILD
(from rev 278113, kdelibs4support/trunk/PKGBUILD)
kdelibs4support/repos/testing-x86_64/
kdelibs4support/repos/testing-x86_64/PKGBUILD
(from rev 278113, 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 278113, kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-10-09 17:59:06 UTC (rev 278114)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.27.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=('7b6d4e08c6a53f2a093792d6d7d7e469')
+
+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 278113, kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-10-09 17:59:06 UTC (rev 278114)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.27.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=('7b6d4e08c6a53f2a093792d6d7d7e469')
+
+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
+}
More information about the arch-commits
mailing list