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

Antonio Rojas arojas at archlinux.org
Thu Nov 19 21:03:06 UTC 2015


    Date: Thursday, November 19, 2015 @ 22:03:06
  Author: arojas
Revision: 251351

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  kdegames-kmahjongg/repos/staging-i686/
  kdegames-kmahjongg/repos/staging-i686/PKGBUILD
    (from rev 251350, kdegames-kmahjongg/kde-unstable/PKGBUILD)
  kdegames-kmahjongg/repos/staging-i686/kdegames-kmahjongg.install
    (from rev 251350, kdegames-kmahjongg/kde-unstable/kdegames-kmahjongg.install)
  kdegames-kmahjongg/repos/staging-x86_64/
  kdegames-kmahjongg/repos/staging-x86_64/PKGBUILD
    (from rev 251350, kdegames-kmahjongg/kde-unstable/PKGBUILD)
  kdegames-kmahjongg/repos/staging-x86_64/kdegames-kmahjongg.install
    (from rev 251350, kdegames-kmahjongg/kde-unstable/kdegames-kmahjongg.install)

-------------------------------------------+
 staging-i686/PKGBUILD                     |   32 ++++++++++++++++++++++++++++
 staging-i686/kdegames-kmahjongg.install   |   11 +++++++++
 staging-x86_64/PKGBUILD                   |   32 ++++++++++++++++++++++++++++
 staging-x86_64/kdegames-kmahjongg.install |   11 +++++++++
 4 files changed, 86 insertions(+)

Copied: kdegames-kmahjongg/repos/staging-i686/PKGBUILD (from rev 251350, kdegames-kmahjongg/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-11-19 21:03:06 UTC (rev 251351)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kmahjongg
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="A tile matching game for one or two players"
+url="http://kde.org/applications/games/kmahjongg/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkmahjongg4' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kmahjongg-${pkgver}.tar.xz")
+sha1sums=('d872cfe9841d839fc21e054b48877fd4253e478e')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kmahjongg-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kmahjongg/repos/staging-i686/kdegames-kmahjongg.install (from rev 251350, kdegames-kmahjongg/kde-unstable/kdegames-kmahjongg.install)
===================================================================
--- staging-i686/kdegames-kmahjongg.install	                        (rev 0)
+++ staging-i686/kdegames-kmahjongg.install	2015-11-19 21:03:06 UTC (rev 251351)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdegames-kmahjongg/repos/staging-x86_64/PKGBUILD (from rev 251350, kdegames-kmahjongg/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-11-19 21:03:06 UTC (rev 251351)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kmahjongg
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="A tile matching game for one or two players"
+url="http://kde.org/applications/games/kmahjongg/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkmahjongg4' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kmahjongg-${pkgver}.tar.xz")
+sha1sums=('d872cfe9841d839fc21e054b48877fd4253e478e')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kmahjongg-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kmahjongg/repos/staging-x86_64/kdegames-kmahjongg.install (from rev 251350, kdegames-kmahjongg/kde-unstable/kdegames-kmahjongg.install)
===================================================================
--- staging-x86_64/kdegames-kmahjongg.install	                        (rev 0)
+++ staging-x86_64/kdegames-kmahjongg.install	2015-11-19 21:03:06 UTC (rev 251351)
@@ -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