[arch-commits] Commit in khangman/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 26 22:59:45 UTC 2016
Date: Saturday, March 26, 2016 @ 23:59:44
Author: arojas
Revision: 262680
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
khangman/repos/staging-i686/
khangman/repos/staging-i686/PKGBUILD
(from rev 262679, khangman/kde-unstable/PKGBUILD)
khangman/repos/staging-i686/khangman.install
(from rev 262679, khangman/kde-unstable/khangman.install)
khangman/repos/staging-x86_64/
khangman/repos/staging-x86_64/PKGBUILD
(from rev 262679, khangman/kde-unstable/PKGBUILD)
khangman/repos/staging-x86_64/khangman.install
(from rev 262679, khangman/kde-unstable/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 262679, khangman/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-03-26 22:59:44 UTC (rev 262680)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=16.03.80
+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/unstable/applications/${pkgver}/src/khangman-${pkgver}.tar.xz")
+sha1sums=('8cc6bf85765a5bb342e4f20df8ba6f57a0a3d4e8')
+
+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 262679, khangman/kde-unstable/khangman.install)
===================================================================
--- staging-i686/khangman.install (rev 0)
+++ staging-i686/khangman.install 2016-03-26 22:59:44 UTC (rev 262680)
@@ -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 262679, khangman/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-03-26 22:59:44 UTC (rev 262680)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=khangman
+pkgver=16.03.80
+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/unstable/applications/${pkgver}/src/khangman-${pkgver}.tar.xz")
+sha1sums=('8cc6bf85765a5bb342e4f20df8ba6f57a0a3d4e8')
+
+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 262679, khangman/kde-unstable/khangman.install)
===================================================================
--- staging-x86_64/khangman.install (rev 0)
+++ staging-x86_64/khangman.install 2016-03-26 22:59:44 UTC (rev 262680)
@@ -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