[arch-commits] Commit in kdegames-ksnakeduel/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Mar 4 15:18:16 UTC 2015
Date: Wednesday, March 4, 2015 @ 16:18:15
Author: fyan
Revision: 232707
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdegames-ksnakeduel/repos/testing-i686/
kdegames-ksnakeduel/repos/testing-i686/PKGBUILD
(from rev 232706, kdegames-ksnakeduel/trunk/PKGBUILD)
kdegames-ksnakeduel/repos/testing-i686/kdegames-ksnakeduel.install
(from rev 232706, kdegames-ksnakeduel/trunk/kdegames-ksnakeduel.install)
kdegames-ksnakeduel/repos/testing-x86_64/
kdegames-ksnakeduel/repos/testing-x86_64/PKGBUILD
(from rev 232706, kdegames-ksnakeduel/trunk/PKGBUILD)
kdegames-ksnakeduel/repos/testing-x86_64/kdegames-ksnakeduel.install
(from rev 232706, kdegames-ksnakeduel/trunk/kdegames-ksnakeduel.install)
--------------------------------------------+
testing-i686/PKGBUILD | 32 +++++++++++++++++++++++++++
testing-i686/kdegames-ksnakeduel.install | 11 +++++++++
testing-x86_64/PKGBUILD | 32 +++++++++++++++++++++++++++
testing-x86_64/kdegames-ksnakeduel.install | 11 +++++++++
4 files changed, 86 insertions(+)
Copied: kdegames-ksnakeduel/repos/testing-i686/PKGBUILD (from rev 232706, kdegames-ksnakeduel/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-04 15:18:15 UTC (rev 232707)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-ksnakeduel
+pkgver=14.12.3
+pkgrel=1
+pkgdesc="A simple snake duel game"
+url="http://kde.org/applications/games/ksnakeduel/"
+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/ksnakeduel-${pkgver}.tar.xz")
+sha1sums=('a86f00dbb12e4dbe82773c767b4eecf36790af1f')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../ksnakeduel-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-ksnakeduel/repos/testing-i686/kdegames-ksnakeduel.install (from rev 232706, kdegames-ksnakeduel/trunk/kdegames-ksnakeduel.install)
===================================================================
--- testing-i686/kdegames-ksnakeduel.install (rev 0)
+++ testing-i686/kdegames-ksnakeduel.install 2015-03-04 15:18:15 UTC (rev 232707)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdegames-ksnakeduel/repos/testing-x86_64/PKGBUILD (from rev 232706, kdegames-ksnakeduel/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-04 15:18:15 UTC (rev 232707)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegames-ksnakeduel
+pkgver=14.12.3
+pkgrel=1
+pkgdesc="A simple snake duel game"
+url="http://kde.org/applications/games/ksnakeduel/"
+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/ksnakeduel-${pkgver}.tar.xz")
+sha1sums=('a86f00dbb12e4dbe82773c767b4eecf36790af1f')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../ksnakeduel-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegames-ksnakeduel/repos/testing-x86_64/kdegames-ksnakeduel.install (from rev 232706, kdegames-ksnakeduel/trunk/kdegames-ksnakeduel.install)
===================================================================
--- testing-x86_64/kdegames-ksnakeduel.install (rev 0)
+++ testing-x86_64/kdegames-ksnakeduel.install 2015-03-04 15:18:15 UTC (rev 232707)
@@ -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