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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:27:23 UTC 2015


    Date: Friday, April 10, 2015 @ 21:27:22
  Author: arojas
Revision: 236162

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

Added:
  ksquares/repos/staging-i686/
  ksquares/repos/staging-i686/PKGBUILD
    (from rev 236161, ksquares/trunk/PKGBUILD)
  ksquares/repos/staging-i686/ksquares.install
    (from rev 236161, ksquares/trunk/ksquares.install)
  ksquares/repos/staging-x86_64/
  ksquares/repos/staging-x86_64/PKGBUILD
    (from rev 236161, ksquares/trunk/PKGBUILD)
  ksquares/repos/staging-x86_64/ksquares.install
    (from rev 236161, ksquares/trunk/ksquares.install)

---------------------------------+
 staging-i686/PKGBUILD           |   38 ++++++++++++++++++++++++++++++++++++++
 staging-i686/ksquares.install   |   11 +++++++++++
 staging-x86_64/PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/ksquares.install |   11 +++++++++++
 4 files changed, 98 insertions(+)

Copied: ksquares/repos/staging-i686/PKGBUILD (from rev 236161, ksquares/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:27:22 UTC (rev 236162)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ksquares
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="A modeled after the well known pen and paper based game of Dots and Boxes"
+url="http://kde.org/applications/games/ksquares/"
+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-ksquares')
+replaces=('kdegames-ksquares')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ksquares-${pkgver}.tar.xz")
+sha1sums=('379c53cbdadd4a91ba6c5eda411eb4d58456cb92')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../ksquares-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ksquares/repos/staging-i686/ksquares.install (from rev 236161, ksquares/trunk/ksquares.install)
===================================================================
--- staging-i686/ksquares.install	                        (rev 0)
+++ staging-i686/ksquares.install	2015-04-10 19:27:22 UTC (rev 236162)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: ksquares/repos/staging-x86_64/PKGBUILD (from rev 236161, ksquares/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:27:22 UTC (rev 236162)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ksquares
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="A modeled after the well known pen and paper based game of Dots and Boxes"
+url="http://kde.org/applications/games/ksquares/"
+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-ksquares')
+replaces=('kdegames-ksquares')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ksquares-${pkgver}.tar.xz")
+sha1sums=('379c53cbdadd4a91ba6c5eda411eb4d58456cb92')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../ksquares-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: ksquares/repos/staging-x86_64/ksquares.install (from rev 236161, ksquares/trunk/ksquares.install)
===================================================================
--- staging-x86_64/ksquares.install	                        (rev 0)
+++ staging-x86_64/ksquares.install	2015-04-10 19:27:22 UTC (rev 236162)
@@ -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