[arch-commits] Commit in kdeedu-data/repos (3 files)

Antonio Rojas arojas at archlinux.org
Tue Feb 16 07:57:12 UTC 2016


    Date: Tuesday, February 16, 2016 @ 08:57:12
  Author: arojas
Revision: 259376

archrelease: copy trunk to testing-any

Added:
  kdeedu-data/repos/testing-any/
  kdeedu-data/repos/testing-any/PKGBUILD
    (from rev 259375, kdeedu-data/trunk/PKGBUILD)
  kdeedu-data/repos/testing-any/kdeedu-data.install
    (from rev 259375, kdeedu-data/trunk/kdeedu-data.install)

---------------------+
 PKGBUILD            |   34 ++++++++++++++++++++++++++++++++++
 kdeedu-data.install |   12 ++++++++++++
 2 files changed, 46 insertions(+)

Copied: kdeedu-data/repos/testing-any/PKGBUILD (from rev 259375, kdeedu-data/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-02-16 07:57:12 UTC (rev 259376)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-data
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="Common data for KDE Edu applications"
+url="http://kde.org/applications/education"
+arch=('any')
+license=('GPL' 'LGPL' 'FDL')
+depends=('hicolor-icon-theme')
+makedepends=('extra-cmake-modules')
+conflicts=('libkdeedu<14')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/$pkgname-${pkgver}.tar.xz")
+sha1sums=('f927e0575e9e53d2a84596d07e06a9e34a74a771')
+install=$pkgname.install
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-data/repos/testing-any/kdeedu-data.install (from rev 259375, kdeedu-data/trunk/kdeedu-data.install)
===================================================================
--- testing-any/kdeedu-data.install	                        (rev 0)
+++ testing-any/kdeedu-data.install	2016-02-16 07:57:12 UTC (rev 259376)
@@ -0,0 +1,12 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list