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

Antonio Rojas arojas at archlinux.org
Mon Sep 14 21:20:19 UTC 2015


    Date: Monday, September 14, 2015 @ 23:20:18
  Author: arojas
Revision: 246117

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

Added:
  khangman/repos/testing-i686/
  khangman/repos/testing-i686/PKGBUILD
    (from rev 246116, khangman/trunk/PKGBUILD)
  khangman/repos/testing-i686/khangman.install
    (from rev 246116, khangman/trunk/khangman.install)
  khangman/repos/testing-x86_64/
  khangman/repos/testing-x86_64/PKGBUILD
    (from rev 246116, khangman/trunk/PKGBUILD)
  khangman/repos/testing-x86_64/khangman.install
    (from rev 246116, 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 246116, khangman/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 21:20:18 UTC (rev 246117)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Hangman Game"
+url="http://kde.org/applications/education/khangman/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('libkeduvocdocument' 'knewstuff' 'kdeclarative')
+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=('37190d84525cbc696ebf6b54d43b4ee5ecffdef4')
+
+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 246116, khangman/trunk/khangman.install)
===================================================================
--- testing-i686/khangman.install	                        (rev 0)
+++ testing-i686/khangman.install	2015-09-14 21:20:18 UTC (rev 246117)
@@ -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 246116, khangman/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 21:20:18 UTC (rev 246117)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Hangman Game"
+url="http://kde.org/applications/education/khangman/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('libkeduvocdocument' 'knewstuff' 'kdeclarative')
+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=('37190d84525cbc696ebf6b54d43b4ee5ecffdef4')
+
+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 246116, khangman/trunk/khangman.install)
===================================================================
--- testing-x86_64/khangman.install	                        (rev 0)
+++ testing-x86_64/khangman.install	2015-09-14 21:20:18 UTC (rev 246117)
@@ -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