[arch-commits] Commit in kdegames-kfourinline/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 07:04:38 UTC 2015
Date: Wednesday, February 4, 2015 @ 08:04:38
Author: fyan
Revision: 230556
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kfourinline/repos/testing-i686/
kdegames-kfourinline/repos/testing-i686/PKGBUILD
(from rev 230555, kdegames-kfourinline/trunk/PKGBUILD)
kdegames-kfourinline/repos/testing-i686/kdegames-kfourinline.install
(from rev 230555, kdegames-kfourinline/trunk/kdegames-kfourinline.install)
kdegames-kfourinline/repos/testing-x86_64/
kdegames-kfourinline/repos/testing-x86_64/PKGBUILD
(from rev 230555, kdegames-kfourinline/trunk/PKGBUILD)
kdegames-kfourinline/repos/testing-x86_64/kdegames-kfourinline.install
(from rev 230555, kdegames-kfourinline/trunk/kdegames-kfourinline.install)
---------------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++
testing-i686/kdegames-kfourinline.install | 12 +++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++
testing-x86_64/kdegames-kfourinline.install | 12 +++++++++
4 files changed, 88 insertions(+)
Copied: kdegames-kfourinline/repos/testing-i686/PKGBUILD (from rev 230555, kdegames-kfourinline/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 07:04:38 UTC (rev 230556)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kfourinline
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="A four-in-a-row game"
+url="http://kde.org/applications/games/kfourinline/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfourinline-${pkgver}.tar.xz")
+sha1sums=('7016475c7adb0a166b796f704b35cb44fc5314da')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kfourinline-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kfourinline/repos/testing-i686/kdegames-kfourinline.install (from rev 230555, kdegames-kfourinline/trunk/kdegames-kfourinline.install)
===================================================================
--- testing-i686/kdegames-kfourinline.install (rev 0)
+++ testing-i686/kdegames-kfourinline.install 2015-02-04 07:04:38 UTC (rev 230556)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegames-kfourinline/repos/testing-x86_64/PKGBUILD (from rev 230555, kdegames-kfourinline/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 07:04:38 UTC (rev 230556)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kfourinline
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="A four-in-a-row game"
+url="http://kde.org/applications/games/kfourinline/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfourinline-${pkgver}.tar.xz")
+sha1sums=('7016475c7adb0a166b796f704b35cb44fc5314da')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kfourinline-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kfourinline/repos/testing-x86_64/kdegames-kfourinline.install (from rev 230555, kdegames-kfourinline/trunk/kdegames-kfourinline.install)
===================================================================
--- testing-x86_64/kdegames-kfourinline.install (rev 0)
+++ testing-x86_64/kdegames-kfourinline.install 2015-02-04 07:04:38 UTC (rev 230556)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list