[arch-commits] Commit in kdegames-kolf/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Dec 18 17:36:09 UTC 2013
Date: Wednesday, December 18, 2013 @ 18:36:09
Author: andrea
Revision: 202101
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-kolf/repos/testing-i686/
kdegames-kolf/repos/testing-i686/PKGBUILD
(from rev 202100, kdegames-kolf/trunk/PKGBUILD)
kdegames-kolf/repos/testing-i686/kdegames-kolf.install
(from rev 202100, kdegames-kolf/trunk/kdegames-kolf.install)
kdegames-kolf/repos/testing-x86_64/
kdegames-kolf/repos/testing-x86_64/PKGBUILD
(from rev 202100, kdegames-kolf/trunk/PKGBUILD)
kdegames-kolf/repos/testing-x86_64/kdegames-kolf.install
(from rev 202100, kdegames-kolf/trunk/kdegames-kolf.install)
--------------------------------------+
testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-i686/kdegames-kolf.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-x86_64/kdegames-kolf.install | 12 ++++++++++++
4 files changed, 86 insertions(+)
Copied: kdegames-kolf/repos/testing-i686/PKGBUILD (from rev 202100, kdegames-kolf/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-12-18 17:36:09 UTC (rev 202101)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kolf
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="A miniature golf game with 2d top-down view"
+url="http://kde.org/applications/games/kolf/"
+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/${pkgver}/src/kolf-${pkgver}.tar.xz")
+sha1sums=('e3a03d50676018934affe5a4c1a9b4f82dca79fc')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kolf-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kolf/repos/testing-i686/kdegames-kolf.install (from rev 202100, kdegames-kolf/trunk/kdegames-kolf.install)
===================================================================
--- testing-i686/kdegames-kolf.install (rev 0)
+++ testing-i686/kdegames-kolf.install 2013-12-18 17:36:09 UTC (rev 202101)
@@ -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-kolf/repos/testing-x86_64/PKGBUILD (from rev 202100, kdegames-kolf/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-12-18 17:36:09 UTC (rev 202101)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kolf
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="A miniature golf game with 2d top-down view"
+url="http://kde.org/applications/games/kolf/"
+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/${pkgver}/src/kolf-${pkgver}.tar.xz")
+sha1sums=('e3a03d50676018934affe5a4c1a9b4f82dca79fc')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kolf-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-kolf/repos/testing-x86_64/kdegames-kolf.install (from rev 202100, kdegames-kolf/trunk/kdegames-kolf.install)
===================================================================
--- testing-x86_64/kdegames-kolf.install (rev 0)
+++ testing-x86_64/kdegames-kolf.install 2013-12-18 17:36:09 UTC (rev 202101)
@@ -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