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

Antonio Rojas arojas at archlinux.org
Thu Nov 19 21:04:47 UTC 2015


    Date: Thursday, November 19, 2015 @ 22:04:47
  Author: arojas
Revision: 251357

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

Added:
  kpatience/repos/staging-i686/
  kpatience/repos/staging-i686/PKGBUILD
    (from rev 251356, kpatience/kde-unstable/PKGBUILD)
  kpatience/repos/staging-i686/kpatience.install
    (from rev 251356, kpatience/kde-unstable/kpatience.install)
  kpatience/repos/staging-x86_64/
  kpatience/repos/staging-x86_64/PKGBUILD
    (from rev 251356, kpatience/kde-unstable/PKGBUILD)
  kpatience/repos/staging-x86_64/kpatience.install
    (from rev 251356, kpatience/kde-unstable/kpatience.install)

----------------------------------+
 staging-i686/PKGBUILD            |   36 ++++++++++++++++++++++++++++++++++++
 staging-i686/kpatience.install   |   13 +++++++++++++
 staging-x86_64/PKGBUILD          |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/kpatience.install |   13 +++++++++++++
 4 files changed, 98 insertions(+)

Copied: kpatience/repos/staging-i686/PKGBUILD (from rev 251356, kpatience/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-11-19 21:04:47 UTC (rev 251357)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="Offers a selection of solitaire card games"
+url="http://kde.org/applications/games/kpatience/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kpatience')
+replaces=('kdegames-kpatience')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('cb13fa41f3a0e6b7892df247fbb3a4c02d9e7a5c')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kpat-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kpatience/repos/staging-i686/kpatience.install (from rev 251356, kpatience/kde-unstable/kpatience.install)
===================================================================
--- staging-i686/kpatience.install	                        (rev 0)
+++ staging-i686/kpatience.install	2015-11-19 21:04:47 UTC (rev 251357)
@@ -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: kpatience/repos/staging-x86_64/PKGBUILD (from rev 251356, kpatience/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-11-19 21:04:47 UTC (rev 251357)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="Offers a selection of solitaire card games"
+url="http://kde.org/applications/games/kpatience/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kpatience')
+replaces=('kdegames-kpatience')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('cb13fa41f3a0e6b7892df247fbb3a4c02d9e7a5c')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kpat-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kpatience/repos/staging-x86_64/kpatience.install (from rev 251356, kpatience/kde-unstable/kpatience.install)
===================================================================
--- staging-x86_64/kpatience.install	                        (rev 0)
+++ staging-x86_64/kpatience.install	2015-11-19 21:04:47 UTC (rev 251357)
@@ -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