[arch-commits] Commit in kfourinline/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:21:06 UTC 2015
Date: Friday, April 10, 2015 @ 21:21:06
Author: arojas
Revision: 236139
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kfourinline/repos/staging-i686/
kfourinline/repos/staging-i686/PKGBUILD
(from rev 236138, kfourinline/trunk/PKGBUILD)
kfourinline/repos/staging-i686/kfourinline.install
(from rev 236138, kfourinline/trunk/kfourinline.install)
kfourinline/repos/staging-x86_64/
kfourinline/repos/staging-x86_64/PKGBUILD
(from rev 236138, kfourinline/trunk/PKGBUILD)
kfourinline/repos/staging-x86_64/kfourinline.install
(from rev 236138, kfourinline/trunk/kfourinline.install)
------------------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-i686/kfourinline.install | 12 ++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/kfourinline.install | 12 ++++++++++++
4 files changed, 94 insertions(+)
Copied: kfourinline/repos/staging-i686/PKGBUILD (from rev 236138, kfourinline/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:21:06 UTC (rev 236139)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kfourinline
+pkgver=15.04.0
+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-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kfourinline')
+replaces=('kdegames-kfourinline')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfourinline-${pkgver}.tar.xz")
+sha1sums=('a766702d18ea9f68f56dab137a630af19b289092')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kfourinline-${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: kfourinline/repos/staging-i686/kfourinline.install (from rev 236138, kfourinline/trunk/kfourinline.install)
===================================================================
--- staging-i686/kfourinline.install (rev 0)
+++ staging-i686/kfourinline.install 2015-04-10 19:21:06 UTC (rev 236139)
@@ -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: kfourinline/repos/staging-x86_64/PKGBUILD (from rev 236138, kfourinline/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:21:06 UTC (rev 236139)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kfourinline
+pkgver=15.04.0
+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-applications' 'kdegames')
+depends=('libkdegames' 'knotifyconfig')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdegames-kfourinline')
+replaces=('kdegames-kfourinline')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kfourinline-${pkgver}.tar.xz")
+sha1sums=('a766702d18ea9f68f56dab137a630af19b289092')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kfourinline-${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: kfourinline/repos/staging-x86_64/kfourinline.install (from rev 236138, kfourinline/trunk/kfourinline.install)
===================================================================
--- staging-x86_64/kfourinline.install (rev 0)
+++ staging-x86_64/kfourinline.install 2015-04-10 19:21:06 UTC (rev 236139)
@@ -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