[arch-commits] Commit in kdegames-kolf/repos (6 files)

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:24:39 UTC 2015


    Date: Friday, April 10, 2015 @ 21:24:39
  Author: arojas
Revision: 236153

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kdegames-kolf/repos/staging-i686/
  kdegames-kolf/repos/staging-i686/PKGBUILD
    (from rev 236152, kdegames-kolf/trunk/PKGBUILD)
  kdegames-kolf/repos/staging-i686/kdegames-kolf.install
    (from rev 236152, kdegames-kolf/trunk/kdegames-kolf.install)
  kdegames-kolf/repos/staging-x86_64/
  kdegames-kolf/repos/staging-x86_64/PKGBUILD
    (from rev 236152, kdegames-kolf/trunk/PKGBUILD)
  kdegames-kolf/repos/staging-x86_64/kdegames-kolf.install
    (from rev 236152, kdegames-kolf/trunk/kdegames-kolf.install)

--------------------------------------+
 staging-i686/PKGBUILD                |   32 ++++++++++++++++++++++++++++++++
 staging-i686/kdegames-kolf.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD              |   32 ++++++++++++++++++++++++++++++++
 staging-x86_64/kdegames-kolf.install |   12 ++++++++++++
 4 files changed, 88 insertions(+)

Copied: kdegames-kolf/repos/staging-i686/PKGBUILD (from rev 236152, kdegames-kolf/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:24:39 UTC (rev 236153)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kolf
+pkgver=15.04.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-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kolf-${pkgver}.tar.xz")
+sha1sums=('9624b9d65666a786aa7b3d51b30be822c59d0585')
+
+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/staging-i686/kdegames-kolf.install (from rev 236152, kdegames-kolf/trunk/kdegames-kolf.install)
===================================================================
--- staging-i686/kdegames-kolf.install	                        (rev 0)
+++ staging-i686/kdegames-kolf.install	2015-04-10 19:24:39 UTC (rev 236153)
@@ -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/staging-x86_64/PKGBUILD (from rev 236152, kdegames-kolf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:24:39 UTC (rev 236153)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-kolf
+pkgver=15.04.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-applications' 'kdegames')
+depends=('kdebase-runtime' 'libkdegames4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kolf-${pkgver}.tar.xz")
+sha1sums=('9624b9d65666a786aa7b3d51b30be822c59d0585')
+
+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/staging-x86_64/kdegames-kolf.install (from rev 236152, kdegames-kolf/trunk/kdegames-kolf.install)
===================================================================
--- staging-x86_64/kdegames-kolf.install	                        (rev 0)
+++ staging-x86_64/kdegames-kolf.install	2015-04-10 19:24:39 UTC (rev 236153)
@@ -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