[arch-commits] Commit in kmahjongg (7 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 26 23:14:03 UTC 2016


    Date: Sunday, March 27, 2016 @ 00:14:03
  Author: arojas
Revision: 262713

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  kmahjongg/repos/
  kmahjongg/repos/staging-i686/
  kmahjongg/repos/staging-i686/PKGBUILD
    (from rev 262712, kmahjongg/kde-unstable/PKGBUILD)
  kmahjongg/repos/staging-i686/kmahjongg.install
    (from rev 262712, kmahjongg/kde-unstable/kmahjongg.install)
  kmahjongg/repos/staging-x86_64/
  kmahjongg/repos/staging-x86_64/PKGBUILD
    (from rev 262712, kmahjongg/kde-unstable/PKGBUILD)
  kmahjongg/repos/staging-x86_64/kmahjongg.install
    (from rev 262712, kmahjongg/kde-unstable/kmahjongg.install)

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

Copied: kmahjongg/repos/staging-i686/PKGBUILD (from rev 262712, kmahjongg/kde-unstable/PKGBUILD)
===================================================================
--- repos/staging-i686/PKGBUILD	                        (rev 0)
+++ repos/staging-i686/PKGBUILD	2016-03-26 23:14:03 UTC (rev 262713)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 261475 2016-03-15 10:26:40Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmahjongg
+pkgver=16.03.80
+pkgrel=1
+pkgdesc="A tile matching game for one or two players"
+url="http://kde.org/applications/games/kmahjongg/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+depends=(libkmahjongg libkdegames hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegames-kmahjongg)
+replaces=(kdegames-kmahjongg)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('0fca9be628364d403ca59270431aeb218fb42200')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kmahjongg/repos/staging-i686/kmahjongg.install (from rev 262712, kmahjongg/kde-unstable/kmahjongg.install)
===================================================================
--- repos/staging-i686/kmahjongg.install	                        (rev 0)
+++ repos/staging-i686/kmahjongg.install	2016-03-26 23:14:03 UTC (rev 262713)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kmahjongg/repos/staging-x86_64/PKGBUILD (from rev 262712, kmahjongg/kde-unstable/PKGBUILD)
===================================================================
--- repos/staging-x86_64/PKGBUILD	                        (rev 0)
+++ repos/staging-x86_64/PKGBUILD	2016-03-26 23:14:03 UTC (rev 262713)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 261475 2016-03-15 10:26:40Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmahjongg
+pkgver=16.03.80
+pkgrel=1
+pkgdesc="A tile matching game for one or two players"
+url="http://kde.org/applications/games/kmahjongg/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+depends=(libkmahjongg libkdegames hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegames-kmahjongg)
+replaces=(kdegames-kmahjongg)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('0fca9be628364d403ca59270431aeb218fb42200')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kmahjongg/repos/staging-x86_64/kmahjongg.install (from rev 262712, kmahjongg/kde-unstable/kmahjongg.install)
===================================================================
--- repos/staging-x86_64/kmahjongg.install	                        (rev 0)
+++ repos/staging-x86_64/kmahjongg.install	2016-03-26 23:14:03 UTC (rev 262713)
@@ -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