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

Felix Yan fyan at archlinux.org
Wed Mar 4 11:09:22 UTC 2015


    Date: Wednesday, March 4, 2015 @ 12:09:22
  Author: fyan
Revision: 232617

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

Added:
  khangman/repos/testing-i686/
  khangman/repos/testing-i686/PKGBUILD
    (from rev 232616, khangman/trunk/PKGBUILD)
  khangman/repos/testing-i686/khangman.install
    (from rev 232616, khangman/trunk/khangman.install)
  khangman/repos/testing-x86_64/
  khangman/repos/testing-x86_64/PKGBUILD
    (from rev 232616, khangman/trunk/PKGBUILD)
  khangman/repos/testing-x86_64/khangman.install
    (from rev 232616, 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 232616, khangman/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 11:09:22 UTC (rev 232617)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.3
+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=('57efe3e6521b7a536b1115457e37268367f5eef9')
+
+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 232616, khangman/trunk/khangman.install)
===================================================================
--- testing-i686/khangman.install	                        (rev 0)
+++ testing-i686/khangman.install	2015-03-04 11:09:22 UTC (rev 232617)
@@ -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 232616, khangman/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 11:09:22 UTC (rev 232617)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.3
+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=('57efe3e6521b7a536b1115457e37268367f5eef9')
+
+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 232616, khangman/trunk/khangman.install)
===================================================================
--- testing-x86_64/khangman.install	                        (rev 0)
+++ testing-x86_64/khangman.install	2015-03-04 11:09:22 UTC (rev 232617)
@@ -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