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

Felix Yan fyan at archlinux.org
Wed Feb 4 05:10:07 UTC 2015


    Date: Wednesday, February 4, 2015 @ 06:10:06
  Author: fyan
Revision: 230504

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

Added:
  khangman/repos/testing-i686/
  khangman/repos/testing-i686/PKGBUILD
    (from rev 230503, khangman/trunk/PKGBUILD)
  khangman/repos/testing-i686/khangman.install
    (from rev 230503, khangman/trunk/khangman.install)
  khangman/repos/testing-x86_64/
  khangman/repos/testing-x86_64/PKGBUILD
    (from rev 230503, khangman/trunk/PKGBUILD)
  khangman/repos/testing-x86_64/khangman.install
    (from rev 230503, khangman/trunk/khangman.install)

---------------------------------+
 testing-i686/PKGBUILD           |   39 ++++++++++++++++++++++++++++++++++++++
 testing-i686/khangman.install   |   11 ++++++++++
 testing-x86_64/PKGBUILD         |   39 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/khangman.install |   11 ++++++++++
 4 files changed, 100 insertions(+)

Copied: khangman/repos/testing-i686/PKGBUILD (from rev 230503, khangman/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 05:10:06 UTC (rev 230504)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Hangman Game"
+url="http://kde.org/applications/education/khangman/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('libkeduvocdocument' 'knewstuff')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdeedu-khangman')
+conflicts=('kdeedu-khangman')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/khangman-${pkgver}.tar.xz")
+sha1sums=('5cf3699efb2c46a9873fba8f590823ad6d68b287')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../khangman-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: khangman/repos/testing-i686/khangman.install (from rev 230503, khangman/trunk/khangman.install)
===================================================================
--- testing-i686/khangman.install	                        (rev 0)
+++ testing-i686/khangman.install	2015-02-04 05:10:06 UTC (rev 230504)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: khangman/repos/testing-x86_64/PKGBUILD (from rev 230503, khangman/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 05:10:06 UTC (rev 230504)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Hangman Game"
+url="http://kde.org/applications/education/khangman/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('libkeduvocdocument' 'knewstuff')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdeedu-khangman')
+conflicts=('kdeedu-khangman')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/khangman-${pkgver}.tar.xz")
+sha1sums=('5cf3699efb2c46a9873fba8f590823ad6d68b287')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../khangman-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: khangman/repos/testing-x86_64/khangman.install (from rev 230503, khangman/trunk/khangman.install)
===================================================================
--- testing-x86_64/khangman.install	                        (rev 0)
+++ testing-x86_64/khangman.install	2015-02-04 05:10:06 UTC (rev 230504)
@@ -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