[arch-commits] Commit in kdelibs4support/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Sep 12 05:33:23 UTC 2015
Date: Saturday, September 12, 2015 @ 07:33:23
Author: fyan
Revision: 245970
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdelibs4support/repos/testing-i686/
kdelibs4support/repos/testing-i686/PKGBUILD
(from rev 245969, kdelibs4support/trunk/PKGBUILD)
kdelibs4support/repos/testing-x86_64/
kdelibs4support/repos/testing-x86_64/PKGBUILD
(from rev 245969, 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 245969, kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-12 05:33:23 UTC (rev 245970)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.14.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=('feb4bb63b373a4fdf7084be2a904d447')
+
+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 245969, kdelibs4support/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-12 05:33:23 UTC (rev 245970)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdelibs4support
+pkgver=5.14.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=('feb4bb63b373a4fdf7084be2a904d447')
+
+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
+}
More information about the arch-commits
mailing list