[arch-commits] Commit in kpatience/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Wed Jul 29 07:49:24 UTC 2015
Date: Wednesday, July 29, 2015 @ 09:49:24
Author: arojas
Revision: 242722
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kpatience/repos/kde-unstable-i686/
kpatience/repos/kde-unstable-i686/PKGBUILD
(from rev 242721, kpatience/kde-unstable/PKGBUILD)
kpatience/repos/kde-unstable-i686/kpatience.install
(from rev 242721, kpatience/kde-unstable/kpatience.install)
kpatience/repos/kde-unstable-x86_64/
kpatience/repos/kde-unstable-x86_64/PKGBUILD
(from rev 242721, kpatience/kde-unstable/PKGBUILD)
kpatience/repos/kde-unstable-x86_64/kpatience.install
(from rev 242721, kpatience/kde-unstable/kpatience.install)
---------------------------------------+
kde-unstable-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++
kde-unstable-i686/kpatience.install | 13 +++++++++++
kde-unstable-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++
kde-unstable-x86_64/kpatience.install | 13 +++++++++++
4 files changed, 98 insertions(+)
Copied: kpatience/repos/kde-unstable-i686/PKGBUILD (from rev 242721, kpatience/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2015-07-29 07:49:24 UTC (rev 242722)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('07c57a467611268c448380e780ba264224a2a6bd')
+
+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/kde-unstable-i686/kpatience.install (from rev 242721, kpatience/kde-unstable/kpatience.install)
===================================================================
--- kde-unstable-i686/kpatience.install (rev 0)
+++ kde-unstable-i686/kpatience.install 2015-07-29 07:49:24 UTC (rev 242722)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 242721, kpatience/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2015-07-29 07:49:24 UTC (rev 242722)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/kpat-${pkgver}.tar.xz")
+sha1sums=('07c57a467611268c448380e780ba264224a2a6bd')
+
+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/kde-unstable-x86_64/kpatience.install (from rev 242721, kpatience/kde-unstable/kpatience.install)
===================================================================
--- kde-unstable-x86_64/kpatience.install (rev 0)
+++ kde-unstable-x86_64/kpatience.install 2015-07-29 07:49:24 UTC (rev 242722)
@@ -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