[arch-commits] Commit in libkdeedu/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 04:20:06 UTC 2015
Date: Wednesday, February 4, 2015 @ 05:20:06
Author: fyan
Revision: 230441
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libkdeedu/repos/testing-i686/
libkdeedu/repos/testing-i686/PKGBUILD
(from rev 230440, libkdeedu/trunk/PKGBUILD)
libkdeedu/repos/testing-i686/libkdeedu.install
(from rev 230440, libkdeedu/trunk/libkdeedu.install)
libkdeedu/repos/testing-x86_64/
libkdeedu/repos/testing-x86_64/PKGBUILD
(from rev 230440, libkdeedu/trunk/PKGBUILD)
libkdeedu/repos/testing-x86_64/libkdeedu.install
(from rev 230440, libkdeedu/trunk/libkdeedu.install)
----------------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-i686/libkdeedu.install | 11 +++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/libkdeedu.install | 11 +++++++++++
4 files changed, 90 insertions(+)
Copied: libkdeedu/repos/testing-i686/PKGBUILD (from rev 230440, libkdeedu/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 04:20:06 UTC (rev 230441)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdeedu
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Libraries used by KDE Education applications"
+url="https://projects.kde.org/projects/kde/kdeedu/libkdeedu"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'kdeedu-data')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+replaces=('kdeedu-libkdeedu')
+options=('staticlibs') # libqtmmlwidget.a needed by KAlgebra
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('6da63310ff1267a063c96dba36186c17c5aae755')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkdeedu/repos/testing-i686/libkdeedu.install (from rev 230440, libkdeedu/trunk/libkdeedu.install)
===================================================================
--- testing-i686/libkdeedu.install (rev 0)
+++ testing-i686/libkdeedu.install 2015-02-04 04:20:06 UTC (rev 230441)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: libkdeedu/repos/testing-x86_64/PKGBUILD (from rev 230440, libkdeedu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 04:20:06 UTC (rev 230441)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libkdeedu
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Libraries used by KDE Education applications"
+url="https://projects.kde.org/projects/kde/kdeedu/libkdeedu"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'kdeedu-data')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+replaces=('kdeedu-libkdeedu')
+options=('staticlibs') # libqtmmlwidget.a needed by KAlgebra
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('6da63310ff1267a063c96dba36186c17c5aae755')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libkdeedu/repos/testing-x86_64/libkdeedu.install (from rev 230440, libkdeedu/trunk/libkdeedu.install)
===================================================================
--- testing-x86_64/libkdeedu.install (rev 0)
+++ testing-x86_64/libkdeedu.install 2015-02-04 04:20:06 UTC (rev 230441)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list