[arch-commits] Commit in khangman/repos (6 files)
Felix Yan
fyan at archlinux.org
Fri Jan 16 02:40:13 UTC 2015
Date: Friday, January 16, 2015 @ 03:40:13
Author: fyan
Revision: 229143
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
khangman/repos/staging-i686/
khangman/repos/staging-i686/PKGBUILD
(from rev 229142, khangman/trunk/PKGBUILD)
khangman/repos/staging-i686/khangman.install
(from rev 229142, khangman/trunk/khangman.install)
khangman/repos/staging-x86_64/
khangman/repos/staging-x86_64/PKGBUILD
(from rev 229142, khangman/trunk/PKGBUILD)
khangman/repos/staging-x86_64/khangman.install
(from rev 229142, khangman/trunk/khangman.install)
---------------------------------+
staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++++
staging-i686/khangman.install | 11 ++++++++++
staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/khangman.install | 11 ++++++++++
4 files changed, 100 insertions(+)
Copied: khangman/repos/staging-i686/PKGBUILD (from rev 229142, khangman/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-01-16 02:40:13 UTC (rev 229143)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.1
+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=('f33f60d290d815af583e05c240a52fee90bcf48e')
+
+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/staging-i686/khangman.install (from rev 229142, khangman/trunk/khangman.install)
===================================================================
--- staging-i686/khangman.install (rev 0)
+++ staging-i686/khangman.install 2015-01-16 02:40:13 UTC (rev 229143)
@@ -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/staging-x86_64/PKGBUILD (from rev 229142, khangman/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-01-16 02:40:13 UTC (rev 229143)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=14.12.1
+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=('f33f60d290d815af583e05c240a52fee90bcf48e')
+
+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/staging-x86_64/khangman.install (from rev 229142, khangman/trunk/khangman.install)
===================================================================
--- staging-x86_64/khangman.install (rev 0)
+++ staging-x86_64/khangman.install 2015-01-16 02:40:13 UTC (rev 229143)
@@ -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