[arch-commits] Commit in kpatience/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:25:28 UTC 2015
Date: Friday, April 10, 2015 @ 21:25:28
Author: arojas
Revision: 236156
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kpatience/repos/staging-i686/
kpatience/repos/staging-i686/PKGBUILD
(from rev 236155, kpatience/trunk/PKGBUILD)
kpatience/repos/staging-i686/kpatience.install
(from rev 236155, kpatience/trunk/kpatience.install)
kpatience/repos/staging-x86_64/
kpatience/repos/staging-x86_64/PKGBUILD
(from rev 236155, kpatience/trunk/PKGBUILD)
kpatience/repos/staging-x86_64/kpatience.install
(from rev 236155, kpatience/trunk/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 236155, kpatience/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:25:28 UTC (rev 236156)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.04.0
+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-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/stable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('159f19b88cf2edd5150f8bffde36def6ab6e5fcc')
+
+build() {
+ mkdir 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 236155, kpatience/trunk/kpatience.install)
===================================================================
--- staging-i686/kpatience.install (rev 0)
+++ staging-i686/kpatience.install 2015-04-10 19:25:28 UTC (rev 236156)
@@ -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 236155, kpatience/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:25:28 UTC (rev 236156)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.04.0
+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-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/stable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('159f19b88cf2edd5150f8bffde36def6ab6e5fcc')
+
+build() {
+ mkdir 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 236155, kpatience/trunk/kpatience.install)
===================================================================
--- staging-x86_64/kpatience.install (rev 0)
+++ staging-x86_64/kpatience.install 2015-04-10 19:25:28 UTC (rev 236156)
@@ -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