[arch-commits] Commit in kdegames-kubrick/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Sep 14 21:37:26 UTC 2015


    Date: Monday, September 14, 2015 @ 23:37:26
  Author: arojas
Revision: 246165

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdegames-kubrick/repos/testing-i686/
  kdegames-kubrick/repos/testing-i686/PKGBUILD
    (from rev 246164, kdegames-kubrick/trunk/PKGBUILD)
  kdegames-kubrick/repos/testing-i686/kdegames-kubrick.install
    (from rev 246164, kdegames-kubrick/trunk/kdegames-kubrick.install)
  kdegames-kubrick/repos/testing-x86_64/
  kdegames-kubrick/repos/testing-x86_64/PKGBUILD
    (from rev 246164, kdegames-kubrick/trunk/PKGBUILD)
  kdegames-kubrick/repos/testing-x86_64/kdegames-kubrick.install
    (from rev 246164, kdegames-kubrick/trunk/kdegames-kubrick.install)

-----------------------------------------+
 testing-i686/PKGBUILD                   |   35 ++++++++++++++++++++++++++++++
 testing-i686/kdegames-kubrick.install   |   11 +++++++++
 testing-x86_64/PKGBUILD                 |   35 ++++++++++++++++++++++++++++++
 testing-x86_64/kdegames-kubrick.install |   11 +++++++++
 4 files changed, 92 insertions(+)

Copied: kdegames-kubrick/repos/testing-i686/PKGBUILD (from rev 246164, kdegames-kubrick/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 21:37:26 UTC (rev 246165)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kubrick
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Based on the famous Rubik's Cube"
+url="http://kde.org/applications/games/kubrick/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4' 'glu')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kubrick-${pkgver}.tar.xz")
+sha1sums=('6db2ec4b75a76ab1eb8bcc2f100f2a9fa7b45d45')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kubrick-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kubrick/repos/testing-i686/kdegames-kubrick.install (from rev 246164, kdegames-kubrick/trunk/kdegames-kubrick.install)
===================================================================
--- testing-i686/kdegames-kubrick.install	                        (rev 0)
+++ testing-i686/kdegames-kubrick.install	2015-09-14 21:37:26 UTC (rev 246165)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdegames-kubrick/repos/testing-x86_64/PKGBUILD (from rev 246164, kdegames-kubrick/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 21:37:26 UTC (rev 246165)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kubrick
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Based on the famous Rubik's Cube"
+url="http://kde.org/applications/games/kubrick/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4' 'glu')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kubrick-${pkgver}.tar.xz")
+sha1sums=('6db2ec4b75a76ab1eb8bcc2f100f2a9fa7b45d45')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kubrick-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kubrick/repos/testing-x86_64/kdegames-kubrick.install (from rev 246164, kdegames-kubrick/trunk/kdegames-kubrick.install)
===================================================================
--- testing-x86_64/kdegames-kubrick.install	                        (rev 0)
+++ testing-x86_64/kdegames-kubrick.install	2015-09-14 21:37:26 UTC (rev 246165)
@@ -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