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

Felix Yan fyan at archlinux.org
Wed Feb 4 07:20:04 UTC 2015


    Date: Wednesday, February 4, 2015 @ 08:20:04
  Author: fyan
Revision: 230584

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

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

-------------------------------------------+
 testing-i686/PKGBUILD                     |   32 ++++++++++++++++++++++++++++
 testing-i686/kdegames-kpatience.install   |   13 +++++++++++
 testing-x86_64/PKGBUILD                   |   32 ++++++++++++++++++++++++++++
 testing-x86_64/kdegames-kpatience.install |   13 +++++++++++
 4 files changed, 90 insertions(+)

Copied: kdegames-kpatience/repos/testing-i686/PKGBUILD (from rev 230583, kdegames-kpatience/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 07:20:04 UTC (rev 230584)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kpatience
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Offers a selection of solitaire card games"
+url="http://kde.org/applications/games/kpat/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('85a4606357c6747da4b997935da2e42693a409a4')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kpat-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kpatience/repos/testing-i686/kdegames-kpatience.install (from rev 230583, kdegames-kpatience/trunk/kdegames-kpatience.install)
===================================================================
--- testing-i686/kdegames-kpatience.install	                        (rev 0)
+++ testing-i686/kdegames-kpatience.install	2015-02-04 07:20:04 UTC (rev 230584)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdegames-kpatience/repos/testing-x86_64/PKGBUILD (from rev 230583, kdegames-kpatience/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 07:20:04 UTC (rev 230584)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kpatience
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Offers a selection of solitaire card games"
+url="http://kde.org/applications/games/kpat/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('85a4606357c6747da4b997935da2e42693a409a4')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kpat-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegames-kpatience/repos/testing-x86_64/kdegames-kpatience.install (from rev 230583, kdegames-kpatience/trunk/kdegames-kpatience.install)
===================================================================
--- testing-x86_64/kdegames-kpatience.install	                        (rev 0)
+++ testing-x86_64/kdegames-kpatience.install	2015-02-04 07:20:04 UTC (rev 230584)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list